Eu acho que isso é mais uma questão filosófica.
Os registros foram alterados, mas apenas dig
parece ver o novo. ssh
/ ping
e tal usa o endereço antigo.
O TTL do registro dig
vê também está funcionando corretamente.
Este é realmente o servidor de nomes respondendo de forma diferente ou apenas um cache DNS oculto?
$ host -v boing
Trying "boing"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7276
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;boing. IN A
;; ANSWER SECTION:
boing. 1213 IN CNAME ec2-52-209-211-218.eu-west-1.compute.amazonaws.com.
ec2-52-209-211-218.eu-west-1.compute.amazonaws.com. 514066 IN A 52.209.211.218
Received 112 bytes from 192.168.0.1#53 in 1 ms
considerando que:
$ dig @192.168.0.1 boing
; <<>> DiG 9.10.4-P2 <<>> @192.168.0.1 boing
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34806
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;boing. IN A
;; ANSWER SECTION:
boing. 3441 IN CNAME ec2-52-211-117-189.eu-west-1.compute.amazonaws.com.
ec2-52-211-117-189.eu-west-1.compute.amazonaws.com. 604641 IN A 52.211.117.189
;; Query time: 1 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Sat Sep 24 12:08:50 CEST 2016
;; MSG SIZE rcvd: 123