Currently I have a domain and rent a dedicated server for it. It runs a windows port of BIND (installed by/maintained by Plesk) and provides DNS relevant to my domain
I'm looking to wind down that dedicated server and have purchased another one (from OVH, as it happens) onto which a lot of my services have moved, but I haven't installed any DNS daemon on the new server. Instead I've created a zone for my domain on OVH's DNS servers via their control panel
Their support tell me that the last step I need to execute to switch everything over is to nominate their DNS servers as responsible for my domain, on the config pages of the registrar
The reason I haven't done so so far is that I cannot get their DNS servers to answer any queries! If I do this on my OVH server (note: ns108 is the DNS server that they have allocated to my account):
c:\> nslookup > server ns108.ovh.net Default Server: ns108.ovh.net Addresses: 2001:41d0:1:1998::1 184.108.40.206 > google.com *** ns108.ovh.net can't find google.com: No response from server > server 220.127.116.11 Default Server: [18.104.22.168] Address: 22.214.171.124 > google.com *** [126.96.36.199] can't find google.com: Query refused
As noted their techs say "just switch it over, it'll all work fine", but it doesn't seem like much of a reassurance. If doesn't matter what domain I put into the query; the response is the same.
Is there a technical reason why their servers won't start responding until I nominate them as responsible for my domain, with the registrar? i.e. is what the techs telling me true, that I can switch and not worry? I don't really want to bring down every site we operate as a result of no-one being able to look up our main domain any more - that would be bad for business..
I really struggled with inconsistent behaviour of nslookup here - the solutions below advised me to specify the OVH DNS server on the command line - I thought I HAD specified it (in the way I was using nslookup, by issuing a
server dns108.ovh.net command after running nslookup) but it never worked out. I've since determined that it does work when specified in interactive mode, if I use the IPv4 IP of the server rather than its name. I can only assume it's because specifying by name in interactive mode causes the lookup of the server to return an IPv6 address (first) and I suspect this is the one being used, as my system isn't configured for IPv6
c:\> nslookup mail.mydomain.com dns108.ovh.net c:\> nslookup mail.mydomain.com 188.8.131.52 c:\> nslookup >server 184.108.40.206 >mail.mydomain.com
c:\> nslookup >server dns108.ovh.net Default Server: dns108.ovh.net Addresses: 2001:41d0:1:4a98::1 220.127.116.11 >mail.mydomain.com c:\>ping 2001:41d0:1:1998::1 Pinging 2001:41d0:1:1998::1 with 32 bytes of data: PING: transmit failed. General failure.
Thanks to all who helped me get to the bottom of this.. Apologies for the misdirection earlier, putting google.com into the example commands - i was using my actual domain, but also trying google and other common names for comparison. My understanding of DNS is now much improved!