Name servers are missing. Error repeats often after being fixed.

9 posts / 0 new
Last post
#1 Sat, 04/12/2014 - 04:12
eiger3970

Name servers are missing. Error repeats often after being fixed.

Hi, this Nameservers are missing error occurs often and after I have websites online.

Virtualmin shows all services working. Virtualmin shows the correct nameservers in Virtualmin.

Here's some dig results I test when the nameserver error occurs:

# dig www.sk8parks.org.au
 
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> www.sk8parks.org.au
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 16250
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
 
;; QUESTION SECTION:
;www.sk8parks.org.au.       IN  A
 
;; Query time: 3186 msec
;; SERVER: 192.168.1.155#53(192.168.1.155)
;; WHEN: Sat Apr 12 17:23:10 2014
;; MSG SIZE  rcvd: 37
Sun, 04/13/2014 - 10:05
andreychek

Howdy,

Is it your Virtualmin server that is acting as the nameservers for that domain?

If so, you'd need to make sure BIND is listening for incoming connections, and if it's behind a NAT router, that the router is forwarding port 53 UDP into your server.

On your Virtualmin server, what does this command output:

netstat -an | grep :53

Wed, 06/14/2017 - 07:15
eiger3970
[root@localhost public_html]# netstat -an|grep :53
-bash: netstat: command not found
[root@localhost public_html]# yum install netstat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.mirror.serversaustralia.com.au
* extras: mirror.aarnet.edu.au
* updates: mirror.aarnet.edu.au
No package netstat available.
Error: Nothing to do

I followed the guide https://www.virtualmin.com/documentation/dns/faq for DNS, but still having an error: Missing name servers.

Wed, 06/14/2017 - 18:24
Joe
Joe's picture

You've still got the same issue three years later!? That's a long time to be poking at a problem. ;-)

You can find out what package a command belongs to by using the "provides" yum command, e.g.:

# yum provides */netstat

Which on CentOS systems results in net-tools.

When do you get this "Nameservers are missing" error? I mean, what triggers it and what is the complete, exact error message? (I ask, because there is no error message in Virtualmin that matches that text, so I don't know how to tell you proceed on troubleshooting since I have no idea what would cause it to appear.)

--

Check out the forum guidelines!

Wed, 06/14/2017 - 22:04
eiger3970

Thanks, yes thought I'd pick up this thread rather than start a new one for the same DNS issue.

Ok, no results after command # netstat -an :53. Does that mean Virtualmin isn't listening on port 53? If that's the issue, how do I make Virtualmin listen on port 53? I mentioned, I have followed the Virtualmin DNS guide.

The error appears after I install Virtualmin and a virtual server and then test the domain.com on www.intodns.com.

Mismatched NS records WARNING: One or more of your nameservers did not return any of your NS records. Error DNS servers responded ERROR: One or more of your nameservers did not respond: The ones that did not respond are: xxx.xxx.xx.xxx

Multiple Nameservers ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.

Missing nameservers reported by your nameservers You should already know that your NS records at your nameservers are missing, so here it is again:

ns2.domain.com. ns1.domain.com.

Thu, 06/15/2017 - 21:11
eiger3970

Ok, following https://www.virtualmin.com/documentation/dns/faq, I added 'Master DNS server hostname' and 'Additional manually configured nameservers' as ns1.domain.com and ns2.domain.com. Same error. The document doesn't says whether to add ns1.domain.com or IP address?

Fri, 06/16/2017 - 19:27
eiger3970

Okay, so I think Virtualmin is not even listening for DNS on port 53? Why?

[root@localhost ~]# netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:mysql 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:submission 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:pop3 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:sunrpc 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:imap 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ndmp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 localhost:irisa 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:smtp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:dnp 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:imaps 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:pop3s 0.0.0.0:* LISTEN
tcp 0 0 localhost.com:ssh 192.168.1.120:43626 ESTABLISHED tcp6 0 0 [::]:submission [::]:* LISTEN
tcp6 0 0 [::]:EtherNet/IP-1 [::]:* LISTEN
tcp6 0 0 [::]:pop3 [::]:* LISTEN
tcp6 0 0 [::]:sunrpc [::]:* LISTEN
tcp6 0 0 [::]:imap [::]:* LISTEN
tcp6 0 0 [::]:ndmp [::]:* LISTEN
tcp6 0 0 [::]:http [::]:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 [::]:smtp [::]:* LISTEN
tcp6 0 0 [::]:https [::]:* LISTEN
tcp6 0 0 [::]:imaps [::]:* LISTEN
tcp6 0 0 [::]:pop3s [::]:* LISTEN
udp 0 0 0.0.0.0:dnp 0.0.0.0:*
udp 0 0 0.0.0.0:ndmp 0.0.0.0:*
raw6 0 0 [::]:ipv6-icmp [::]:* 7
Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 2 [ ACC ] STREAM LISTENING 11277 /run/lvm/lvmetad.socket unix 2 [ ACC ] STREAM LISTENING 18373 private/bounce unix 2 [ ACC ] STREAM LISTENING 18376 private/defer unix 2 [ ACC ] STREAM LISTENING 18379 private/trace unix 2 [ ACC ] STREAM LISTENING 18382 private/verify unix 2 [ ACC ] STREAM LISTENING 140321 /var/run/rpcbind.sock unix 2 [ ACC ] STREAM LISTENING 18388 private/proxymap unix 2 [ ACC ] STREAM LISTENING 18391 private/proxywrite unix 2 [ ACC ] STREAM LISTENING 18394 private/smtp unix 2 [ ACC ] STREAM LISTENING 18397 private/relay unix 2 [ ACC ] STREAM LISTENING 17188 /var/run/dovecot/stats unix 2 [ ACC ] STREAM LISTENING 18403 private/error unix 2 [ ACC ] STREAM LISTENING 18406 private/retry unix 2 [ ACC ] STREAM LISTENING 18409 private/discard unix 2 [ ACC ] STREAM LISTENING 17191 /var/run/dovecot/ssl-params unix 2 [ ACC ] STREAM LISTENING 18412 private/local unix 2 [ ACC ] STREAM LISTENING 18415 private/virtual unix 2 [ ACC ] STREAM LISTENING 17193 /var/run/dovecot/login/ssl-params unix 2 [ ACC ] STREAM LISTENING 18418 private/lmtp unix 2 [ ACC ] STREAM LISTENING 18421 private/anvil unix 2 [ ACC ] STREAM LISTENING 17195 /var/run/dovecot/replicator unix 2 [ ACC ] SEQPACKET LISTENING 11307 /run/udev/control unix 2 [ ACC ] STREAM LISTENING 18424 private/scache unix 2 [ ACC ] STREAM LISTENING 17197 /var/run/dovecot/replication-notify unix 2 [ ACC ] STREAM LISTENING 17200 /var/run/dovecot/login/pop3 unix 2 [ ACC ] STREAM LISTENING 17206 /var/run/dovecot/log-errors unix 2 [ ACC ] STREAM LISTENING 17208 /var/run/dovecot/ipc unix 2 [ ACC ] STREAM LISTENING 17210 /var/run/dovecot/login/ipc-proxy unix 2 [ ACC ] STREAM LISTENING 17212 /var/run/dovecot/indexer-worker unix 2 [ ACC ] STREAM LISTENING 17214 /var/run/dovecot/indexer unix 2 [ ACC ] STREAM LISTENING 17216 /var/run/dovecot/login/imap unix 2 [ ACC ] STREAM LISTENING 17218 /var/run/dovecot/imap-urlauth-worker unix 2 [ ACC ] STREAM LISTENING 17220 /var/run/dovecot/token-login/imap-urlauth unix 2 [ ACC ] STREAM LISTENING 17222 /var/run/dovecot/imap-urlauth unix 2 [ ACC ] STREAM LISTENING 18367 private/tlsmgr unix 2 [ ACC ] STREAM LISTENING 18370 private/rewrite unix 2 [ ACC ] STREAM LISTENING 17228 /var/run/dovecot/doveadm-server unix 2 [ ACC ] STREAM LISTENING 17230 /var/run/dovecot/dns-client unix 2 [ ACC ] STREAM LISTENING 17232 /var/run/dovecot/director-admin unix 2 [ ACC ] STREAM LISTENING 17234 /var/run/dovecot/director-userdb unix 2 [ ACC ] STREAM LISTENING 17236 /var/run/dovecot/dict unix 2 [ ACC ] STREAM LISTENING 17238 /var/run/dovecot/config unix 2 [ ACC ] STREAM LISTENING 17240 /var/run/dovecot/login/login unix 2 [ ACC ] STREAM LISTENING 17242 /var/run/dovecot/token-login/tokenlogin unix 2 [ ACC ] STREAM LISTENING 17244 /var/run/dovecot/auth-login unix 2 [ ACC ] STREAM LISTENING 17246 /var/run/dovecot/auth-client unix 2 [ ACC ] STREAM LISTENING 17248 /var/run/dovecot/auth-userdb unix 2 [ ACC ] STREAM LISTENING 17250 /var/run/dovecot/auth-master unix 2 [ ACC ] STREAM LISTENING 17252 /var/run/dovecot/auth-worker unix 2 [ ACC ] STREAM LISTENING 17254 /var/run/dovecot/anvil unix 2 [ ACC ] STREAM LISTENING 17256 /var/run/dovecot/anvil-auth-penalty unix 2 [ ACC ] STREAM LISTENING 13424 /var/run/dbus/system_bus_socket unix 2 [ ] DGRAM 6817 /run/systemd/notify unix 2 [ ] DGRAM 6819 /run/systemd/cgroups-agent unix 2 [ ACC ] STREAM LISTENING 18356 public/pickup unix 2 [ ACC ] STREAM LISTENING 6827 /run/systemd/journal/stdout unix 2 [ ACC ] STREAM LISTENING 21166 /run/proftpd/proftpd.sock unix 5 [ ] DGRAM 6830 /run/systemd/journal/socket unix 16 [ ] DGRAM 6832 /dev/log unix 2 [ ACC ] STREAM LISTENING 18360 public/cleanup unix 2 [ ACC ] STREAM LISTENING 18363 public/qmgr unix 2 [ ACC ] STREAM LISTENING 18385 public/flush unix 2 [ ACC ] STREAM LISTENING 18400 public/showq unix 2 [ ACC ] STREAM LISTENING 11215 /run/systemd/private unix 2 [ ACC ] STREAM LISTENING 15569 /var/run/NetworkManager/private-dhcp unix 2 [ ACC ] STREAM LISTENING 13785 /run/saslauthd/mux unix 2 [ ACC ] STREAM LISTENING 17630 /run/proftpd/proftpd.sock unix 2 [ ACC ] STREAM LISTENING 20580 /var/lib/mysql/mysql.sock unix 2 [ ] DGRAM 11237 /run/systemd/shutdownd unix 2 [ ACC ] STREAM LISTENING 11245 /run/lvm/lvmpolld.socket unix 3 [ ] STREAM CONNECTED 14537
unix 3 [ ] STREAM CONNECTED 18389
unix 2 [ ] DGRAM 1138832
unix 3 [ ] STREAM CONNECTED 18387
unix 3 [ ] STREAM CONNECTED 18386
unix 3 [ ] STREAM CONNECTED 14538 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 18384
unix 3 [ ] STREAM CONNECTED 18383
unix 3 [ ] STREAM CONNECTED 18411
unix 3 [ ] STREAM CONNECTED 18358
unix 3 [ ] STREAM CONNECTED 18372
unix 2 [ ] DGRAM 13327
unix 3 [ ] STREAM CONNECTED 18396
unix 3 [ ] STREAM CONNECTED 18357
unix 3 [ ] STREAM CONNECTED 17869
unix 2 [ ] DGRAM 21177
unix 3 [ ] STREAM CONNECTED 13335
unix 3 [ ] STREAM CONNECTED 18368
unix 3 [ ] STREAM CONNECTED 18410
unix 3 [ ] DGRAM 12314
unix 3 [ ] STREAM CONNECTED 18395
unix 3 [ ] STREAM CONNECTED 18407
unix 3 [ ] STREAM CONNECTED 13334
unix 3 [ ] DGRAM 12313
unix 3 [ ] STREAM CONNECTED 18392
unix 3 [ ] STREAM CONNECTED 18408
unix 3 [ ] STREAM CONNECTED 18371
unix 2 [ ] DGRAM 12290
unix 3 [ ] STREAM CONNECTED 18393
unix 2 [ ] DGRAM 13776
unix 3 [ ] STREAM CONNECTED 18369
unix 3 [ ] STREAM CONNECTED 18405
unix 3 [ ] STREAM CONNECTED 14370 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 18390
unix 3 [ ] STREAM CONNECTED 17018
unix 3 [ ] STREAM CONNECTED 17870 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 18365
unix 3 [ ] STREAM CONNECTED 14138
unix 3 [ ] STREAM CONNECTED 18364
unix 2 [ ] DGRAM 17175
unix 2 [ ] DGRAM 14380
unix 3 [ ] STREAM CONNECTED 18362
unix 3 [ ] STREAM CONNECTED 17183
unix 3 [ ] STREAM CONNECTED 14139 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 14241 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 13500
unix 3 [ ] STREAM CONNECTED 17182
unix 3 [ ] STREAM CONNECTED 13610
unix 3 [ ] STREAM CONNECTED 14369
unix 2 [ ] DGRAM 17771
unix 2 [ ] DGRAM 17614
unix 3 [ ] STREAM CONNECTED 14240
unix 3 [ ] STREAM CONNECTED 13501 /run/systemd/journal/stdout unix 2 [ ] DGRAM 18451
unix 3 [ ] STREAM CONNECTED 12284 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 13454
unix 3 [ ] STREAM CONNECTED 14389 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 13611 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 12283
unix 3 [ ] STREAM CONNECTED 18354
unix 3 [ ] STREAM CONNECTED 13609
unix 3 [ ] STREAM CONNECTED 18355
unix 2 [ ] DGRAM 1139757
unix 3 [ ] STREAM CONNECTED 14011
unix 3 [ ] STREAM CONNECTED 14012 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 18361
unix 3 [ ] STREAM CONNECTED 18401
unix 3 [ ] STREAM CONNECTED 18381
unix 3 [ ] STREAM CONNECTED 18380
unix 3 [ ] STREAM CONNECTED 18399
unix 3 [ ] STREAM CONNECTED 18398
unix 3 [ ] STREAM CONNECTED 18378
unix 3 [ ] STREAM CONNECTED 18404
unix 2 [ ] DGRAM 14243
unix 2 [ ] DGRAM 14117
unix 3 [ ] STREAM CONNECTED 18377
unix 3 [ ] STREAM CONNECTED 13726 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 18375
unix 3 [ ] STREAM CONNECTED 18402
unix 2 [ ] DGRAM 14125
unix 3 [ ] STREAM CONNECTED 13725
unix 3 [ ] STREAM CONNECTED 18374
unix 3 [ ] STREAM CONNECTED 11749
unix 3 [ ] STREAM CONNECTED 17539
unix 3 [ ] STREAM CONNECTED 18425
unix 3 [ ] STREAM CONNECTED 18426
unix 3 [ ] STREAM CONNECTED 16750
unix 3 [ ] STREAM CONNECTED 14308
unix 3 [ ] STREAM CONNECTED 18423
unix 3 [ ] STREAM CONNECTED 16751 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 14309 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 14388
unix 2 [ ] DGRAM 694789
unix 3 [ ] STREAM CONNECTED 11750 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 18422
unix 3 [ ] STREAM CONNECTED 17540 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 18419
unix 2 [ ] DGRAM 18326
unix 3 [ ] STREAM CONNECTED 18420
unix 3 [ ] STREAM CONNECTED 18417
unix 3 [ ] STREAM CONNECTED 17110
unix 3 [ ] STREAM CONNECTED 18432
unix 2 [ ] DGRAM 14412
unix 3 [ ] STREAM CONNECTED 18416
unix 3 [ ] STREAM CONNECTED 18413
unix 3 [ ] STREAM CONNECTED 17019 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16366
unix 3 [ ] STREAM CONNECTED 18433
unix 3 [ ] STREAM CONNECTED 18414
unix 3 [ ] STREAM CONNECTED 17111 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16367 /run/systemd/journal/stdout

Fri, 06/16/2017 - 20:42
eiger3970

Ok, as per https://www.virtualmin.com/node/20866, my Addresses and Topology has Ports and addresses to listen on Port number: 53 Addresses: any.

Fri, 06/16/2017 - 21:13
eiger3970

Ok, magically, Virtualmin > System Information > Server Status > BIND DNS was down. I started and domain.com loads. Not sure how BIND DNS was up at installation and now down. Will uninstall Virtualmin and try to replicate and solve the issue.

Topic locked