How to check if my DNS server is working
Hi,
Few days ago, I installed bind9 server on my fresh debian 7 machine. All packages are up2date, and repositiries are offical. I have configured bind exactly as it is described here: https://wiki.debian.org/Bind9 I have a free domian registered at dot.tk, which is acctualy pointing to my old DNS server.. 4 days ago, I changed the DNS on the register side, but they still pointing to my old server ;/ I dont know why.. Anyways, as I have only production domain, and I can't move them to my new DNS server, and I want to check if all is working fine.. On the server all seems to be good, I replace all fields in resolv.conf to use this server so: Code:
# cat /etc/resolv.conf So question to you: Do you know, how can I can if my bind is working fine? |
Use dig <domain> @yourip
That should give you a good indication that bind is working, also you could enable all DNS query logging (google it, there's tons of tutorials) and then do the same dig again and it should appear in the logs. Do the same thing from an external server (if you have one) and you should also see the results. Alternatively why not use a paid DNS provider? Service I use is $2.99 a month and I don't have to deal with availability, secondary servers, replication, etc. :) |
The issue is, that it shows me old DNS..
Code:
$ host -t NS domain.tk Also when trying to check domain using host cmd it resolves correctly: Code:
$ host -t NS domain.tk $SERVERIP Code:
$ host -t NS domain.tk So I am really confused, it looks that my domain providier have some issues with changing DNS.. |
Quote:
|
But the rest, looks good - yes?..
I mean, the DSN seems to get responds which should work.. |
Looks OK to me, and if you can get the results by using the IP address of the name server then you should be fine once your registry processes the updates.
You may find that if you're using servers within the same domain then your provider may require you to register them specifically in order to create the relevant "glue" records. |
Cool, thanks for update!
|
All times are GMT -5. The time now is 05:52 AM. |