Questions tagged [bind]

BIND is the de facto standard DNS server

BIND is the de facto standard DNS server, especially for large installations. It is currently maintained by the ISC.

For key bindings, see the tag.

314 questions
20
votes
1 answer

How to let `named` (bind9) forward certain domains to a different nameserver?

In dnsmasq, it's possible to forward domains to different nameservers. How can I do that in named? server=/foo.com/10.0.10.1 server=/vpn.foo.com/8.8.8.8
Cheng
  • 6,531
  • 11
  • 40
  • 42
17
votes
5 answers

Why doesn't systemd-resolved use my local DNS server?

I'm using a local BIND9 server to host some local dns records. When trying to dig for a local domain name I can't find it if I don't explicitly tell dig to use my local BIND9 server. user@heimdal:~$ dig +short heimdal.lan.se user@heimdal:~$ dig…
Civing
  • 389
  • 1
  • 2
  • 9
14
votes
3 answers

Configuring ssh fingerprints on dns to replace known_hosts fails

The SSHFP records were generated on the ssh server as follows and then added to the zone in bind: $ ssh-keygen -r www.test.us. www.test.us. IN SSHFP 1 1 ad04dfaf343a93beeb939eed1612168f7eadbed7 www.test.us. IN SSHFP 2 1…
Michael Yasumoto
  • 571
  • 4
  • 10
13
votes
2 answers

How can I reset or lower the serial used in BIND DNS server's SOA record?

I use BIND as my DNS server at home. For my Start Of Authority (SOA record) I always use a serial in the recommended format YYYYMMDD## where ## is the counter for changes on that day. Unfortunately I changed the serial and added 1 more digit by…
13
votes
4 answers

Resolving hostname takes 5 seconds

I've a master bind9 DNS server and 2 slave servers running on IPv4 (Debian Jessie), using /etc/bind/named.conf: listen-on-v6 { none; }; When I try to connect from different server(s) each connection takes at least 5 seconds (I'm using Joseph's…
Tombart
  • 2,630
  • 5
  • 26
  • 39
11
votes
1 answer

"Fake" DNS for a single host

I am running a bind9 dns server at my home network, serving for all my internal servers in my domain local / 192.168.x.x - one of those, extweb.local 192.168.1.33 is also visible from the internet as home.sickel.net (well, not exactly, but you get…
MortenSickel
  • 1,341
  • 1
  • 12
  • 24
9
votes
1 answer

How to deal with underscores in hostnames?

I got DNS set up on my company's server and it works just fine, except I got problem with some phones. For example one of the phones is “Huawei P9 lite”, and it's hostname (set on the phone, no chance to change that without root) is…
FilipK
  • 131
  • 2
  • 11
9
votes
3 answers

Is it possible to execute scripts in BIND based on lookup

Is it possible, to set up BIND as DNS server on my local network, and make execute scripts when it gets a lookup? I would like to execute a Python or Bash script, based on the incoming DNS lookup, how can I solve this? If possible in Bind, please…
Gunnar
  • 241
  • 2
  • 5
9
votes
2 answers

Bind9 denied query

I created a bind9 based DNS server to work only in forwarding mode: This is my named.conf.options file: #acl goodclients { # localhost; # localnets; #}; options { directory "/var/cache/bind"; // If there is a…
4m1nh4j1
  • 1,823
  • 8
  • 29
  • 40
9
votes
5 answers

How to increment serial number in bind9 dns zone

I have a dns zone, which has serial number: 2015040500 Today I am going to add some CNAME records there, so I am interested in how to increment serial number, I mean should I change it based on today's date, e.g it will be: 2015042200 or just…
Shota
  • 245
  • 1
  • 2
  • 8
9
votes
2 answers

how can I add records to the zone file without restarting the named service?

I'm working on centos6.5 and bind9 and I have managed to add records to a DNS zone by doing this steps: creating the key: dnssec-keygen -a HMAC-MD5 -b 128 -n HOST example.com. editing conf. file: // TSIG Key key "example.com." { algorithm…
Nidal
  • 8,856
  • 11
  • 55
  • 74
8
votes
4 answers

Chicken and egg problem with NTP and Bind

This a report of a problem I solved but I feel the solution could be useful to other. The problem appeared on a Raspbian 9.13. For some - probably hardware - reasons still to be discovered, my Raspberry pi-based router crashed and could not restart.…
David Verdin
  • 213
  • 1
  • 7
7
votes
2 answers

named[862]: resolver priming query complete: every 20 seconds

BIND 9.11.3 Ubuntu 18.04 kernel 4.15.0-23 I am running bind9 as my LAN DNS and it is working for all hosts and forwarding to internet through the google DNS IPs Why does my log have many instances of this message. 3-4 entries per minute : …
Stephen Boston
  • 1,928
  • 3
  • 25
  • 50
7
votes
1 answer

bind mounting and df output

I have a partition, /dev/sdb1, that gets mounted at /data. In /etc/fstab I have: /dev/sdb1 /data ext4 defaults 1 2 After that partition gets mounted, I then have the following bind mounts: /data/backups/f17/opt /opt …
atreyu
  • 183
  • 1
  • 2
  • 5
7
votes
1 answer

Why are NS records needed in zone-files?

I installed BIND and I am aware that it is required to have at least two NS(Name Server) records in zone-file. This is true also for reverse-zone files. I understand that NS records point to authoritative name servers, but why do I need to have…
Martin
  • 7,284
  • 40
  • 125
  • 208
1
2 3
20 21