difference in responses between UDP and TCP

Reindl Harald h.reindl at thelounge.net
Sun Jun 18 11:44:44 UTC 2017


Am 18.06.2017 um 12:12 schrieb Arun Natarajan:
> Hello Tony,
> 
> 
> 
>     Without knowing the server host name and zone name there could be
>     lots of
>     different reasons, so there isn't really any way to answer.
> 
> True,
> dig +tcp @212.26.18.3 <http://212.26.18.3> pub.sa <http://pub.sa>
> serial: 2017061804
> dig +notcp @212.26.18.3 <http://212.26.18.3> pub.sa <http://pub.sa>
> serial: 2017061805

no
_____________________________________________________________

[harry at srv-rhsoft:~]$ dig +tcp @212.26.18.3 pub.sa

; <<>> DiG 9.10.4-P8-RedHat-9.10.4-5.P8.fc25 <<>> +tcp @212.26.18.3 pub.sa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13874
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;pub.sa.                                IN      A

;; AUTHORITY SECTION:
pub.sa.                 3600    IN      SOA     ns1.nic.net.sa. 
hostmaster.nic.net.sa. 2017061806 10800 3600 3600000 3600

;; Query time: 125 msec
;; SERVER: 212.26.18.3#53(212.26.18.3)
;; WHEN: So Jun 18 13:42:41 CEST 2017
;; MSG SIZE  rcvd: 94
_____________________________________________________________

[harry at srv-rhsoft:~]$ dig +notcp @212.26.18.3 pub.sa

; <<>> DiG 9.10.4-P8-RedHat-9.10.4-5.P8.fc25 <<>> +notcp @212.26.18.3 pub.sa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43839
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;pub.sa.                                IN      A

;; AUTHORITY SECTION:
pub.sa.                 3600    IN      SOA     ns1.nic.net.sa. 
hostmaster.nic.net.sa. 2017061806 10800 3600 3600000 3600

;; Query time: 118 msec
;; SERVER: 212.26.18.3#53(212.26.18.3)
;; WHEN: So Jun 18 13:42:49 CEST 2017
;; MSG SIZE  rcvd: 94


More information about the bind-users mailing list