Questions tagged [named-conf]
The named-conf tag has no usage guidance.
83 questions
0
votes
0
answers
23
views
named config has recursion disabled, but query shows 'ra' bit
I have a bind nameserver running on CentoOS.
In my postfix logs I see errors from my RBL lists which point to nameserver config issues, which may relate to recursion.
Here are the named.conf lines ...
-1
votes
1
answer
269
views
Create a new sub-domain in internal DNS server to be a domain alias for another sub-domain
I need to create a new subdomain "abc.example.com" on our internal DNS server running AlmaLinux 9. This subdomain will serve as an alias for "def.example.com," which is another ...
0
votes
1
answer
437
views
using include in named.conf returns file not found although the file does exist
I have a named service running fine but when I try to use an additional "include" statement, it doesn't work.
I'm using Linux Server, and I have the same problem in CentOS and AlmaLinux.
I ...
0
votes
0
answers
241
views
bind9, named not accessible over local network behind router ubuntu 20.04
i have a zte F6600R router from my isp provider with following configuration
DHCP SERVER : ON
LAN IP ADDR : 192.168.1.1
SUBNET MASK : 255.255.255.0
DHCP start IP : 192.168.1.10
DHCP end IP : 192.168.1....
0
votes
0
answers
115
views
How to stop bind to do a separate CNAME query again?
I have a local DNS server like the following:
client -> bind (only handle local names) -> dnsmasq (handle other names)
This problem is when a name is a CNAME, dnsmasq return both CNAME and IPs, ...
0
votes
1
answer
62
views
Using custom nameservers
In Godaddy I have a domain example1.com and www.example1.com with valid A record to my Centos 7 server's IP.
I 've created hostnames for that domain, ns1.example1.com, ns2.example1.com with the same ...
1
vote
1
answer
1k
views
named-checkconf throwing error on previously functioning forward zone file
I wanted to add a zone to my bind9 configuration (BIND 9.16.1). I have about 20 domains serviced by this name server, most of which have worked for > 10 years.
named-checkconf is throwing errors on ...
0
votes
1
answer
392
views
reverse nslookup attach arpa zone to response
I have an issue that some reverse (PTR) resolution reattach in-addr.arpa zone to response.This is something wrong in the named(bind9) configuration.
Now is :
command : dig -x 10.1.1.107 @dns_server_ip
...
0
votes
0
answers
5k
views
Failed to start Berkeley Internet Name Domain...S). Centos7
I'm new to linux environment and trying to build a web hosting server for my few webistes. But my name servers are not pointing towards my server. I red many articles on many forums and used this ...
1
vote
1
answer
3k
views
BIND - list of forwarders used on several zones
I am setting up a BIND (v9.16) nameserver.
Its main purpose is to work as a regular recursor for our internal hosts. For a couple of specific zones though (the ones that we host), I need to set it up ...
2
votes
2
answers
5k
views
named/bind is refusing to serve some domains after resolving them itself
Why is bind refusing some of my queries? This only happens for certain domains.
A query through named fails:
$ dig -t A fedoraproject.org @127.0.0.1
;; ->>HEADER<<- opcode: QUERY, status: ...
0
votes
0
answers
2k
views
Bind - how to proxy DNS requests to another server (static-stub/forward type not working as expected)
How do I proxy DNS requests from bind9 to acme-dns?
Here is my named/bind9 configuration file
options {
directory "/var/cache/bind";
auth-nxdomain no; # conform to RFC1035
...
0
votes
1
answer
563
views
Bind9 forward top level domain
Hi all just starting working professionally with bind9 and dns, say I have an AD/DC server (with dns) running on internal.com but my bind9 is authoritative for sub.internal.com can I do a forward zone ...
1
vote
1
answer
5k
views
Bind: query (cache) './ANY/IN' denied - is it a DDos attack?
My syslog is getting floated with messages like
Jan 12 11:09:25 xxx named[902]: client 74.74.75.74#47561 (.): query (cache) './ANY/IN' denied
Jan 12 11:09:25 xxx named[902]: client 74.74.75.74#47561 (....
0
votes
1
answer
680
views
bind 9.11 - Need assistance with configuration
I'm replacing a RHEL6 server that runs, among other things, bind/named, with a RHEL8 server. As part of this, the bind version updated from 9.8 to 9.11. I'm not a bind wiz in any way, but I ...
0
votes
1
answer
734
views
Creating multiple log flows for named
I am in the process of rolling out external DNS servers to resolve all end user queries
Before we can move the solution into production I would like get as much useful logging in place as possible
...
0
votes
0
answers
758
views
Configure Reverse DNS in Primary and Secondary BIND DNS Servers for same subnet
I have two DNS Servers (Let's say A and B).
A configured as the primary/master for the domain example.com and B configured as the secondary/slave for the same domain.
B configured as the primary/...
0
votes
2
answers
2k
views
MX record in a reverse zone
I am taking a DNS course on Linux Academy.
In one of the lab, they define a reverse zone. In this zone they add MXs records.
Does it make sense to have MX record defined in a reverse zone?
Details:
...
2
votes
1
answer
389
views
Change TTL for DNS entries on a SUSE Linux Enterprise Server 15
.. preferable without YAST.
I am about migrating several services from a SUSE enterprise server to Ubuntu.
I "found" two DNS related files:
/var/lib/named/master/domain with the forward lookups.
/...
0
votes
1
answer
8k
views
ACL conditional zone in Bind9
I'm trying to apply "restrictmoderate.youtube.com" only for kids and let the others access the standard "youtube.com", using Bind9.
# cat named.conf
include "/etc/bind/named.conf.options";
include "/...
0
votes
1
answer
180
views
BIND cannot see local client PCs and vice versa
I'm trying to configure bind9 DNS to make it usable for my tiny network of windows PCs in order to create Active Directory DC on samba.
For some reason I am getting "ignoring out-of-zone data" for ...
0
votes
1
answer
2k
views
Two domains in one DNS zone file
I manage an authoritative DNS server for my organizations DNS.
We recently purchased additional domain names which end in a different domain than the one my organization has.
For example, my ...
3
votes
1
answer
8k
views
Bind Set Port for Forwarders
According to http://www.zytrax.com/books/dns/ch7/queries.html#forwarders the port can be specified after the address.
However when i try to set it to
forwarders {
127.0.0.1 2053;
}
named-...
1
vote
1
answer
4k
views
Resolve specific Domain query using View in BIND9 (Forward)
I am trying to setup a whitelisted domain forwarder in my bind9 but it wasn't successfully accomplish maybe due to the configuration that I applied.
A couple months ago, I did setup the same ...
5
votes
2
answers
287
views
Malware DNS A record points to my ip address
I've used BIND for about ten years but am by no means an expert, at all. Having said that, I just wiped my VPS due to a crytomining malware infection.
While I was getting BIND set back up I noticed ...
0
votes
0
answers
1k
views
Named - Log NXDOMAIN queries at the server?
I've been scouring the internet for an answer to this - being new to setting up DNS, I can't believe that there's not a clear option for this.
All I'm trying to do is have named write to a log each ...
0
votes
1
answer
10k
views
DNS error named.service: control process exited, code=exited status=1
I am using Centos Web Panel, everything was just working like it normally should... However the Bind DNS just stopped working out of nowhere.
Here is the error code provided:
● named.service - ...
0
votes
1
answer
2k
views
Is it correct BIND9 configuration for my external DNS zone?
My file with zone
My /etc/bind/db.piduna.org
;
; BIND data file for local loopback interface
;
$TTL 604800
$ORIGIN piduna.org.
@ IN SOA ns1.piduna.org. root.piduna.org. (
...
0
votes
1
answer
364
views
Configure simple named DNS server
for a test setup of a software application (with apps, specific hardware and so on) i need to route an public existing domain to an internal server instead of the public server. I would do this with a ...
0
votes
2
answers
1k
views
Create DNS for a wilcard subdomain that is localhost
I'm trying to create DNS for wildcard subdomains that run on localhost.
It's not working. The main domain is fine but the sub domains are pointing to an external server instead.
Here's what I have:
...
-1
votes
1
answer
855
views
ubuntu 14.04 Bind DNS does not work from outside for some of my domains
I have 2 bind9 server NS1 & NS2 with 4 zones for my websites and they worked but some day I find that they just resolve 1 of my domains and not resolve other domain . in my network they do well ...
0
votes
3
answers
2k
views
View match-clients works only with subnet, not with single IP address
I'm running Bind on OpenWrt 15.05.1 as DNS server. I wanted to set up multiple view, with different zones.
acl "trusted" {
10.0.1.0/24;
localhost;
localnets;
};
acl "...
3
votes
0
answers
3k
views
Bind9 will not serve txt records for some domains and will serve it for others [closed]
As from the title, bind9 won't serve txt records for one domain, and serve it for others. the zones are almost equal.
System Ubuntu 14.04
Bind9 from the distribution (tried 9.10 from sources too)
I ...
0
votes
1
answer
1k
views
BIND: zone transfers with views configured not working
We use bind 9.8.2 on RHEL 6 servers. I have setup 2 test DNS servers using views. One is master one is slave. I have 2 views, one for "internal" and one for "external". Everything seems to work except ...
1
vote
2
answers
449
views
Trying to use sed to edit named.conf and add some DNS forwarders but can't?
Trying to replace all the forwarders with new ones but I can't seem to the pattern matching to work. I can't see the mistake for the life of me:
sudo sed -i .bak "s/forwarders {[^]]*}/forwarders { ...
0
votes
1
answer
496
views
Order in which Resource Records(RR) are answered by Bind if Order and preference are Same
I had a query on how the following Records can be ordered on how the Records are configured in the Zone file
I have done 2 different Tests
I have configured following records in the Zone file ...
0
votes
2
answers
11k
views
With BIND 9 how can I match-clients in multiple views?
BIND appears to be looking at the configuration file from top-down and assigning queries to the first matching view based on match-clients. According to http://www.zytrax.com/books/dns/ch7/view.html ...
1
vote
2
answers
3k
views
BIND Slave Unable to Receive Zone Files--SERVFAIL
I've been banging my head against the bind manual and google for a few hours tying to get this figured out, but I'm not sure where I'm screwing up. I built this on a few local VM's, and the slave ...
1
vote
1
answer
547
views
Sync secondary name server zones to primary server
I have two servers with Plesk, unfortunately I'm not a pro, so sorry if my question is stupid. The first server functions as a primary server with with many domains. Before that this server was the ...
2
votes
0
answers
2k
views
BIND9 logging into file
I want to change the logging behavior of Bind9 on my server (Ubuntu 14.04.4 LTS).
I found a intuitive manual for this here: Help.Ubuntu.
In their example they only changed the logging behavior for ...
0
votes
1
answer
2k
views
Recursive forwarding Bind DNS server not answering from cache
Problem Statement
I have a bind caching and forwarding server that is functioning almost as expected. All queries are forwarded, their TTL is cached. At first blush, everything appeared normal ...
2
votes
2
answers
1k
views
The right way to set up master and slave nameservers
I'm wondering about the proper way to set up a master and slave DNS.
I read somewhere that your master DNS server should not have an NS record in your zone file - that's sort of secret and then your ...
3
votes
1
answer
2k
views
DNS Slave server default limits on transfers?
We have a slave dns server that has been working fine for 2 years. Today we got reached over 100 zones and the slave gives us this error message on the last 2 domains
Sep 15 20:27:19 ns1 named[992]: ...
0
votes
1
answer
1k
views
CentOS 7 (1503) - BIND9 new install not responding to external DNS requests
I am trying to set up an authoritative BIND server and every time I run into the same problem on CentOS. I can run the dig command locally for zones on the server however when I run nslookup - ...
1
vote
3
answers
8k
views
How can I start named in IPv4 mode using systemd?
How can I configure my Ubuntu 15.04 bind9 to stop resolving queries with IPv6?
TL;DR
I'm using bind9 on my Ubuntu 15.04 machine. It seems like my named server is trying to resolve alot of queries ...
3
votes
1
answer
18k
views
BIND dns high performance caching
I'm running bind on a small server used for resolving lots of domains, my main goal is fast resolving of domains and low memory usage.
I want to use something like local zone with the nameservers of ...
2
votes
1
answer
3k
views
how to disable forwarder in freeipa servers named.conf
My IPA server's named.conf has this in it since I chose to enter a forwarder address during the ipa-server-install.
forward first;
forwarders {
132.206.44.21;
132.216.44....
0
votes
1
answer
1k
views
Trying to set PTR on CentOS 6.5
For the last 6 hours I've been trying to set a PTR for my server but I with no luck.
Checking with host give me:
Host 44.244.208.173.in-addr.arpa. not found: 3(NXDOMAIN)
My /etc/named.conf includes ...
1
vote
3
answers
4k
views
Bind/Named DNS server on ISPConfig sometimes working [closed]
I have Installed preconfigured system with ISPConfig panel on VPS server. When I create DNS zones and configure them, server work for some time then for some time timeouts and global dns (like 8.8.8.8)...
0
votes
1
answer
61
views
Bind and redirection of clients
Is there any possibility to suggest clients to use a different DNS server to resolve particular domain names? For bind not just forward the query to this server, get the response and serve it to the ...