Semantics of the "host" utility



Hello there,

I am trying to find out the nameservers for a 2nd level domainname at
the ccTLD nameservers. This /used/ to work:

host -t ns <domain> ns.domain-registry.nl

However, since a recent 'host' version (unfortunately I'm not sure
which), the utility gives me this:

# host -t NS microsoft.nl ns.domain-registry.nl
microsoft.nl NS record currently not present at ns.domain-registry.nl

I can get the nameservers bij using the debug option (-d) and grepping
for "IN NS" but this is an ugly solution:

# host -d -t NS microsoft.nl ns.domain-registry.nl
;; res_send()
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16152
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; microsoft.nl, type = NS, class = IN
;; Querying server (# 1) udp address = 193.176.144.2
;; got answer, 79 bytes:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16152
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0
;; microsoft.nl, type = NS, class = IN
microsoft.nl. 1D IN NS dns1.calanza.net.
microsoft.nl. 1D IN NS dns2.calanza.net.
;; Query failed, 0 answers, status: no error
microsoft.nl NS record currently not present at ns.domain-registry.nl

What is the preferred way to find out the auth nameservers for a 2nd
level domain through DNS and using 'host'?

Thanks!
Willem

.



Relevant Pages

  • Re: error in dnsreport
    ... yes, they do host the DNS, the ISP host the Reverse DNS and someone else ... Missing nameservers FAIL: You have one or more missing ... servers return them in the authority section for other requests, ...
    (microsoft.public.exchange.admin)
  • Re: snort and port 53 <-> 53 false positives
    ... I receive all these false positives. ... are nameservers or somthing harmless: ... $ host 212.121.128.2 ... >> but this way somebody can flood my port 53 with packets from port 53, ...
    (comp.security.firewalls)
  • Re: after type the password need to wait a long time when telnet solaris
    ... I want to have two nameservers at each site. ... #1, I have servers A and B, and at site #2, I have servers C and D. ... at a host which does exist and which isn't ... the extra complexity will increase the likelihood of error. ...
    (comp.unix.solaris)
  • Help with DNS / Nameserver setup for web server
    ... The idea being to host all of my websites and have my own nameservers for ... easier setup of client websites. ... also setup www.musoswire.net with a page in IIS, ... Just add it in IIS and add the correct host headers?! ...
    (microsoft.public.windows.server.dns)
  • [OT] DNS switching & which
    ... i have a domain that i host off my own computer but for which i use a ... friend's nameservers. ... any advice on which dns server package i should use, ...
    (Debian-User)