home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.misc      General topics about computers not cover      21,759 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 19,952 of 21,759   
   Andy Burns to Lawrence D'Oliveiro   
   Re: Public DNS Services   
   04 Sep 24 10:19:30   
   
   From: usenet@andyburns.uk   
      
   Lawrence D'Oliveiro wrote:   
      
   > Andy Burns wrote:   
   >   
   >> use nslookup instead   
   >   
   > Doesn’t seem to have the equivalent of the “-a” option of host.   
   >   
   >      host -a dns.google. | grep -c '^dns'   
   >      26   
   >   
   > I get 26 lines of info; how many lines do you get?   
      
   windows   
   =======   
   C:\Users\Andy>nslookup dns.google. 192.168.1.1   
   Server:  UnKnown   
   Address:  192.168.1.1   
      
   Non-authoritative answer:   
   Name:    dns.google   
   Addresses:  2001:4860:4860::8844   
              2001:4860:4860::8888   
              8.8.4.4   
              8.8.8.8   
      
   wsl2   
   ====   
      
   root@YogaHome:~# nslookup dns.google. 192.168.1.1   
   Server:         192.168.1.1   
   Address:        192.168.1.1#53   
      
   Non-authoritative answer:   
   Name:   dns.google   
   Address: 8.8.4.4   
   Name:   dns.google   
   Address: 8.8.8.8   
   Name:   dns.google   
   Address: 2001:4860:4860::8844   
   Name:   dns.google   
   Address: 2001:4860:4860::8888   
      
      
      
   the "host -a" seems to rely on the DNS server supporting queries over   
   TCP as well as UDP, my Draytek router only supports UDP   
      
   root@YogaHome:~# host -a dns.google. 192.168.1.1   
   Trying "dns.google"   
   Trying "dns.google"   
   ; Connection to 192.168.1.1#53(192.168.1.1) for dns.google. failed:   
   timed out.   
   ; no servers could be reached   
      
      
   Using other DNS servers which do support TCP, the amount of info   
   returned seems to depend on what types of RR they support, mainly DNSSEC?   
      
   root@YogaHome:~# host -a dns.google. 9.9.9.9 | wc -l   
   27   
   root@YogaHome:~# host -a dns.google. 8.8.8.8 | wc -l   
   42   
   root@YogaHome:~# host -a dns.google. 94.247.43.254 | wc -l   
   17   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca