Skip to content

Why doesn't Dog recognize the primary DNS automatically in Windows? #140

Description

@insinfo

Why doesn't Dog recognize the primary DNS automatically in Windows?
I have the dig that comes with the Bind 9 installation for windows DiG 9.16.39

C:\Windows\System32>dig newsali.riodasostras.rj.gov.br

; <<>> DiG 9.16.39 <<>> newsali.riodasostras.rj.gov.br
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36895
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;newsali.riodasostras.rj.gov.br.        IN      A

;; ANSWER SECTION:
newsali.riodasostras.rj.gov.br. 37 IN   A       10.0.0.66

;; Query time: 10 msec
;; SERVER: 10.0.0.2#53(10.0.0.2)
;; WHEN: Wed Feb 19 14:35:51 Hora oficial do Brasil 2025
;; MSG SIZE  rcvd: 75


C:\Windows\System32>dig newsali.riodasostras.rj.gov.br 10.0.0.2

; <<>> DiG 9.16.39 <<>> newsali.riodasostras.rj.gov.br 10.0.0.2
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34156
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;newsali.riodasostras.rj.gov.br.        IN      A

;; ANSWER SECTION:
newsali.riodasostras.rj.gov.br. 33 IN   A       10.0.0.66

;; Query time: 10 msec
;; SERVER: 10.0.0.2#53(10.0.0.2)
;; WHEN: Wed Feb 19 14:35:55 Hora oficial do Brasil 2025
;; MSG SIZE  rcvd: 75

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 46156
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 6a8949d8cff7cce90100000067b6167c41b734d805e5cabd (good)
;; QUESTION SECTION:
;10.0.0.2.                      IN      A

;; AUTHORITY SECTION:
.                       85522   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2025021900 1800 900 604800 86400

;; Query time: 18 msec
;; SERVER: 10.0.0.2#53(10.0.0.2)
;; WHEN: Wed Feb 19 14:35:55 Hora oficial do Brasil 2025
;; MSG SIZE  rcvd: 140


C:\Windows\System32>dog newsali.riodasostras.rj.gov.br 10.0.0.2
Error [network]: Este host não é conhecido. (os error 11001)
Error [network]: Este host não é conhecido. (os error 11001)

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
^C
C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 54s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 50s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 46s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 37s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
^C
C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 10s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 5s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 2s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 1m00s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 59s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 54s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 53s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 51s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 50s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
←[1;32mA←[0m ←[1;34mnewsali.riodasostras.rj.gov.br.←[0m 49s   10.0.0.66

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br
Error [network]: Este host não é conhecido. (os error 11001)

C:\Windows\System32>dog newsali.riodasostras.rj.gov.br @10.0.0.2
^C
C:\Windows\System32>dog newsali.riodasostras.rj.gov.br
Error [network]: Este host não é conhecido. (os error 11001)

C:\Windows\System32>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions