The weirdness I'm seeing is under linux:
Code: Select all
dig cnn.com @192.168.1.254
; <<>> DiG 9.9.9-P1 <<>> cnn.com @192.168.1.254
;; global options: +cmd
;; connection timed out; no servers could be reached
However, this command works under OSX without issue.
If I do a TCP only query in linux it always works:
Code: Select all
dig +tcp cnn.com @192.168.1.254
; <<>> DiG 9.9.9-P1 <<>> +tcp cnn.com @192.168.1.254
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11046
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;cnn.com. IN A
;; ANSWER SECTION:
cnn.com. 26 IN A 151.101.193.67
cnn.com. 26 IN A 151.101.1.67
cnn.com. 26 IN A 151.101.129.67
cnn.com. 26 IN A 151.101.65.67
;; Query time: 0 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Fri Sep 28 19:51:23 CDT 2018
;; MSG SIZE rcvd: 89