Skip to content

DNS testen

Linux
  • Manchmal braucht man ja ein paar Informationen über den DNS. Da hätten wir

    dig

    root@rockpro64:~# dig www.google.de
    
    ; <<>> DiG 9.11.5-P4-5.1-Debian <<>> www.google.de
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61350
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;www.google.de.			IN	A
    
    ;; ANSWER SECTION:
    www.google.de.		254	IN	A	216.58.205.227
    
    ;; Query time: 17 msec
    ;; SERVER: 10.10.1.1#53(10.10.1.1)
    ;; WHEN: Sun Apr 05 19:13:26 UTC 2020
    ;; MSG SIZE  rcvd: 58
    

    und

    nslookup

    root@rockpro64:~# nslookup www.google.de
    Server:		10.10.1.1
    Address:	10.10.1.1#53
    
    Non-authoritative answer:
    Name:	www.google.de
    Address: 216.58.205.227
    Name:	www.google.de
    Address: 2a00:1450:4001:820::2003