dog
dog copied to clipboard
Term ns used in nameserver hostname
When a nameserver host name contains the 2 letters 'ns' in the first bit of the host name dog seems to think that it needs to look for the NS values, but that's not what needs to happen.
I've tried both the simple as well as the explicit defined arguments and the results are the same.
The version of dog being used (dog --version):
dog --version
dog ● command-line DNS client
v0.1.0
https://dns.lookup.dog/
The command-line arguments you are using:
$ dog inbetweencows.nl MX @1.1.1.1 --seconds
MX inbetweencows.nl. 600 5 "mailfilter1.mijndomein.nl."
MX inbetweencows.nl. 600 6 "mailfilter2.mijndomein.nl."
$ dog inbetweencows.nl MX @nsn1.mijndomein.nl --seconds
MX inbetweencows.nl. 600 6 "mailfilter2.mijndomein.nl."
MX inbetweencows.nl. 600 5 "mailfilter1.mijndomein.nl."
NS inbetweencows.nl. 3600 A "nsn1.mijndomein.nl."
NS inbetweencows.nl. 3600 A "nsn2.mijndomein.nl."
NS inbetweencows.nl. 3600 A "nsn3.mijndomein.nl."
$ dog -q inbetweencows.nl -n nsn1.mijndomein.nl -t MX --seconds
MX inbetweencows.nl. 600 6 "mailfilter2.mijndomein.nl."
MX inbetweencows.nl. 600 5 "mailfilter1.mijndomein.nl."
NS inbetweencows.nl. 3600 A "nsn1.mijndomein.nl."
NS inbetweencows.nl. 3600 A "nsn2.mijndomein.nl."
NS inbetweencows.nl. 3600 A "nsn3.mijndomein.nl."
$ dog -q inbetweencows.nl -n 1.1.1.1 -t MX --seconds
MX inbetweencows.nl. 600 5 "mailfilter1.mijndomein.nl."
MX inbetweencows.nl. 600 6 "mailfilter2.mijndomein.nl."
Another namserver host name that contains 'ns' later in the string doesn't have this occurrence:
$ dog tussendekoeien.nl MX @max.ns.cloudflare.com --seconds
MX tussendekoeien.nl. 120 10 "mail.tussendekoeien.nl."
Your operating system and hardware platform: (X)Ubuntu 20.10
Thanks for the report; I'll have a look at this.