Skip to content

Instantly share code, notes, and snippets.

@anandology
Created October 22, 2012 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anandology/3929961 to your computer and use it in GitHub Desktop.
Save anandology/3929961 to your computer and use it in GitHub Desktop.
BSNL DNS servers are crappy
# BSNL
# Primary DNS Server: 218.248.245.1
# Secondary DNS Server: 218.248.255.141
#
# In this case the secondary DNS server looks unhealthy.
# Taking too long to respond or failing to respond.
$ time dig @218.248.255.141 archive.org
; <<>> DiG 9.6-ESV-R4-P3 <<>> @218.248.255.141 archive.org
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
real 0m15.007s
user 0m0.002s
sys 0m0.004s
$ time dig @218.248.255.141 news.ycombinator.com
; <<>> DiG 9.6-ESV-R4-P3 <<>> @218.248.255.141 news.ycombinator.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
real 0m15.007s
user 0m0.002s
sys 0m0.004s
$ time dig @218.248.255.141 openlibrary.org
; <<>> DiG 9.6-ESV-R4-P3 <<>> @218.248.255.141 openlibrary.org
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
real 0m15.007s
user 0m0.002s
sys 0m0.005s
$ time dig @218.248.255.141 anandology.com
; <<>> DiG 9.6-ESV-R4-P3 <<>> @218.248.255.141 anandology.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32206
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 2
;; QUESTION SECTION:
;anandology.com. IN A
;; ANSWER SECTION:
anandology.com. 86400 IN A 106.187.46.141
;; AUTHORITY SECTION:
anandology.com. 86386 IN NS ns3.linode.com.
anandology.com. 86386 IN NS ns4.linode.com.
anandology.com. 86386 IN NS ns5.linode.com.
anandology.com. 86386 IN NS ns1.linode.com.
anandology.com. 86386 IN NS ns2.linode.com.
;; ADDITIONAL SECTION:
ns5.linode.com. 85270 IN A 109.74.194.10
ns5.linode.com. 85260 IN AAAA 2a01:7e00::a
;; Query time: 713 msec
;; SERVER: 218.248.255.141#53(218.248.255.141)
;; WHEN: Mon Oct 22 11:48:11 2012
;; MSG SIZE rcvd: 189
real 0m10.720s
user 0m0.002s
sys 0m0.005s
$ date
Mon Oct 22 11:53:55 IST 2012
@indrajithi
Copy link

I think their DNS servers are now hijacked. When using their servers some website is redirected to domain-error.com. I contacted customer care explaining this issue and they sent a man to repair my telephone line.

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