Re: Public DNS Services

Liste des GroupesRevenir à c misc 
Sujet : Re: Public DNS Services
De : usenet (at) *nospam* andyburns.uk (Andy Burns)
Groupes : comp.misc
Date : 04. Sep 2024, 10:19:30
Autres entêtes
Message-ID : <ljqn12Fnku8U1@mid.individual.net>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
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

Date Sujet#  Auteur
2 Sep 24 * Public DNS Services15Lawrence D'Oliveiro
2 Sep 24 +- Re: Public DNS Services1Johanne Fairchild
2 Sep 24 +- Re: Public DNS Services1George Musk
2 Sep 24 +* Re: Public DNS Services3Lawrence D'Oliveiro
3 Sep 24 i+- Re: Public DNS Services1SH
4 Sep 24 i`- Re: Public DNS Services1Lawrence D'Oliveiro
2 Sep 24 +* Re: Public DNS Services2Lawrence D'Oliveiro
12 Sep 24 i`- Re: Public DNS Services1Lawrence D'Oliveiro
3 Sep 24 +* Re: Public DNS Services6SH
3 Sep 24 i`* Re: Public DNS Services5Andy Burns
4 Sep 24 i `* Re: Public DNS Services4Lawrence D'Oliveiro
4 Sep 24 i  `* Re: Public DNS Services3Andy Burns
4 Sep 24 i   `* Re: Public DNS Services2Lawrence D'Oliveiro
4 Sep 24 i    `- Re: Public DNS Services1Andy Burns
3 Sep 24 `- Re: Public DNS Services1Marco Moock

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal