LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-25-2011, 03:20 AM   #1
Arrgghh12
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
DNS issue DIG comparison


Hello,

I have an issue trying to get a name resolution (GPRS network).

root@GPRSDNS:~# dig +trace mncxxx.mccyyy.gprs

; <<>> DiG 9.7.1-P2 <<>> +trace mncxxx.mccyyy.gprs
;; global options: +cmd
. 6824 IN NS grxns1.xxxxxx.grx.
. 6824 IN NS grxns2.xxxxxx.grx.
;; Received 104 bytes from 127.0.0.1#53(127.0.0.1) in 0 ms

mncxxx.mccyyy.gprs. 86400 IN NS DNS1.mncxxx.mccyyy.gprs.
mncxxx.mccyyy.gprs. 86400 IN NS DNS2.mncxxx.mccyyy.gprs.
;; Received 106 bytes from 191.252.243.12#53(grxns2.xxxxxxx.grx) in 415 ms

;; connection timed out; no servers could be reached


But if I enter:

root@GPRSDNS:~# dig mncxxx.mccyyy.gprs @191.252.243.12

; <<>> DiG 9.7.1-P2 <<>> mncxxx.mccyyy.gprs @191.252.243.12
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20031
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;mncxxx.mccyyy.gprs. IN A

;; AUTHORITY SECTION:
mncxxx.mccyyy.gprs. 86400 IN NS DNS1.mncxxx.mccyyy.gprs.
mnc003.mcc470.gprs. 86400 IN NS DNS2.mncxxx.mccyyy.gprs.

;; ADDITIONAL SECTION:
DNS1.mncxxx.mccyyy.gprs. 86400 IN A 201.233.14.46
DNS2.mncxxx.mccyyy.gprs. 86400 IN A 203.233.14.77

;; Query time: 415 msec
;; SERVER: 191.252.243.12#53(191.252.243.12)
;; WHEN: Tue Oct 25 15:24:38 2011
;; MSG SIZE rcvd: 106

It is working fine.

What would be the problem ?
 
Old 10-25-2011, 05:41 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

From the "dig +trace" output, looks like the next hop, after 191.252.243.12 cannot be contacted. I guess it's the authoritative name server for the host you're looking up. Could be a firewall problem, or it doesn't allow-queries except from certain hosts, etc

The 2nd dig command gives the correct answer probably because 191.252.243.12 has the record still cached.

Regards
 
Old 10-25-2011, 05:42 AM   #3
Arrgghh12
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
So basically the DNS server is ok to response to 191.252.243.12 but not from me ?
 
Old 10-25-2011, 06:13 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
So basically the DNS server is ok to response to 191.252.243.12 but not from me ?
If there is firewall (most likely) in between you and the dns server denying access to you and allows access from 191.252.243.12, then yes, it will answer only to that host
 
Old 10-25-2011, 06:20 AM   #5
Arrgghh12
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thank you,

I will contact the remote DNS server admin.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS - MX record not getting from dig jose_tk Linux - Networking 3 10-23-2009 04:07 AM
PTR in DIG DNS palisetty_suman Linux - Newbie 7 05-04-2009 08:27 AM
FC9 DNS issue; Can not YUM or WGET but but can ping and dig rtuin Fedora 0 01-12-2009 03:36 PM
dig command questions DNS emailssent Linux - Networking 3 09-22-2004 05:56 AM
dns question (dig maybe) lenlutz Linux - Networking 2 10-03-2003 07:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration