Questions tagged [named-conf]
76 questions
12
votes
6 answers
Should I use /etc/bind/zones/ or /var/cache/bind/?
Each tutorial seems to have a different opinion on this. For my ISC BIND zones, should I use /etc/bind/zones/ or /var/cache/bind/? In the last install, I used /var/cache/bind/ but only because I was guided to do so; however I just spotted a pid file…
![](../../users/profiles/17170.webp)
Nick Bolton
- 5,016
- 12
- 51
- 62
10
votes
3 answers
BIND 9's nsupdate dyndns update gives: "tsig verify failure (BADKEY)"
I've scoured through so many HOWTO pages on DDNS to try and fix this... I'm at a loss.
WorkstationX = CentOS 6.2 x64
ServerX = Ubuntu 12.04 LTS x64
I don't understand why it's not working... I'm literally out of ideas. I have regenerated and…
![](../../users/profiles/185685.webp)
Litch
- 316
- 1
- 3
- 10
9
votes
5 answers
Bind DNS rate-limit and values for responses-per-second and window
In my DNS server's named.conf I see
rate-limit {
responses-per-second 5;
window 5;
};
What does this actually mean? And can it cause DNS clients problems?
Is this too tight a configuration?
![](../../users/profiles/160284.webp)
Red Cricket
- 462
- 2
- 7
- 20
5
votes
3 answers
Conditional DNS forwarding with named on Linux
I have a Centos 5.2 server which runs named for DNS resolution - it doesn't hold any information of its own, and just forwards all requests. From the named.conf:
options {
[...]
forwarders { 1.1.1.1; 1.1.1.2; };
};
All other lines in…
![](../../users/profiles/11495.webp)
DrStalker
- 6,676
- 24
- 76
- 106
5
votes
2 answers
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 that a domain (TLD) I do not own was coming up as…
![](../../users/profiles/493089.webp)
matzhu
- 51
- 2
5
votes
1 answer
Variables in named.conf
My server have one IP and several domains hosted.
One and same IP appear in named.conf and several zone files.
When the IP address of the server changes, I need manually to change all those IP's.
Is there a way to do something like:
in…
![](../../users/profiles/91085.webp)
Nick
- 786
- 2
- 12
- 37
3
votes
1 answer
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-checkconf returns
/etc/bind/named.conf.options:12:…
![](../../users/profiles/498233.webp)
MagiiTech
- 93
- 1
- 7
3
votes
0 answers
Bind9 will not serve txt records for some domains and will serve it for others
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 have two domains:
www.filippo.fake and…
![](../../users/profiles/216275.webp)
Marco
- 1,679
- 3
- 17
- 31
3
votes
1 answer
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]: zone my.domain.com/IN: refresh: skipping zone…
![](../../users/profiles/266086.webp)
CD Brian
- 67
- 5
3
votes
1 answer
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 all TLDs dig . axfr @g.root-servers.net.
What is…
![](../../users/profiles/173068.webp)
nacholibre
- 133
- 1
- 1
- 4
2
votes
3 answers
Is it possible to recover a deleted named.conf if named still running?
If, for example, you spend some time working on a named.conf, and then by mistake clear it and save it (thanks to vi), is there a saved copy of the named.conf in the running instance that I could grab?
![](../../users/profiles/21375.webp)
romant
- 526
- 5
- 21
2
votes
0 answers
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 queries. I want to log everything (default) in a new…
![](../../users/profiles/331885.webp)
Stefan Wegener
- 183
- 1
- 1
- 10
2
votes
2 answers
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 slave nameservers have NS records and are listed…
![](../../users/profiles/311215.webp)
Jon A
- 121
- 3
2
votes
2 answers
DNSSEC auto signing and file handling
I would like to know how files are handled in a auto-dnssec environment.
My current setup (non-DNSSEC) places the zones files in /var/named/data. These files are then read by the bind server.
If I enable auto signing, will the zones files change? Or…
![](../../users/profiles/77755.webp)
Karel
- 629
- 9
- 16
2
votes
1 answer
How to allow bind to cache lookup queries
I am using bind-9.3.6-4 in my CentOS 5. How can I allow bind to cache lookup queries so that
if there are similar queries it should check from my cache instead doing a lookup from the DNS servers mentioned in the "forwarders"?
![](../../users/profiles/10303.webp)
Supratik
- 2,104
- 10
- 49
- 66