Tuesday, April 24, 2018

networking - puzzling DNS behaviour (ubuntu)

(All IPs and names have been censored, hopefully)




This morning we had some connectivity problems in one of our servers. It turns out that changing our connection configuration to be IP-based (not preferable) solves this, but surprisingly DNS did not completely fail.



What happens is that the DNS sometimes (within a range of seconds) manages to translate the given url to the corresponding IP and sometimes doesn't (unknown host).



What could be causing such behavior? What steps can I take to make sure this is handled well? Other




badumtsss@02-02-02-02:~$ ping dingding.badumtsss.com




ping: unknown host dingding.badumtsss.com



badumtsss@02-02-02-02:~$ ping dingding.badumtsss.com PING
dingding.badumtsss.com (01.01.01.01) 56(84) bytes of data.



64 bytes from ec2-01-01-01-01.eu-west-1.compute.amazonaws.com
(01.01.01.01): icmp_req=1 ttl=43 time=18.7 ms 64 bytes from
ec2-01-01-01-01.eu-west-1.compute.amazonaws.com (01.01.01.01):
icmp_req=2 ttl=43 time=18.5 ms
--- dingding.badumtsss.com ping statistics --- 8 packets transmitted, 8 received, 0% packet loss, time 7010ms rtt min/avg/max/mdev =

18.523/18.721/18.815/0.147 ms



badumtsss@02-02-02-02:~$ ping dingding.badumtsss.com



ping: unknown host dingding.badumtsss.com



badumtsss@02-02-02-02:~$ ping dingding.badumtsss.com PING
dingding.badumtsss.com (01.01.01.01) 56(84) bytes of data. 64 bytes
from ec2-01-01-01-01.eu-west-1.compute.amazonaws.com (01.01.01.01):
icmp_req=1 ttl=43 time=18.5 ms 64 bytes from

ec2-01-01-01-01.eu-west-1.compute.amazonaws.com (01.01.01.01):
icmp_req=2 ttl=43 time=18.7 ms ^C



--- dingding.badumtsss.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev =
18.586/18.681/18.777/0.166 ms badumtsss@02-02-02-02:~$ ping dingding.badumtsss.com PING dingding.badumtsss.com (01.01.01.01)
56(84) bytes of data. 64 bytes from
ec2-01-01-01-01.eu-west-1.compute.amazonaws.com (01.01.01.01):
icmp_req=1 ttl=43 time=18.6 ms 64 bytes from
ec2-01-01-01-01.eu-west-1.compute.amazonaws.com (01.01.01.01):
icmp_req=2 ttl=43 time=18.6 ms ^C




--- dingding.badumtsss.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev =
18.612/18.616/18.621/0.136 ms badumtsss@02-02-02-02:~$ ping dingding.badumtsss.com ping: unknown host dingding.badumtsss.com


No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...