Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th March 2013, 08:27 AM
molossus's Avatar
molossus Offline
Registered User
 
Join Date: Sep 2010
Location: U.S
Posts: 15
linuxchrome
dig not returning any results

my fedora 18 install came with bind and bind utils already,
when i query for example
host -t ns google.com
it shows me google nameservers, but when i try dig google.com and also dig for ns or mx i always get the same result no matter what option i give to dig. it always returns the address of my router.
why does host works but not dig?
am i missing something like modifying something so dig commands can work, or does the dig command only works on centos and rhel , server distros only or what?
Reply With Quote
  #2  
Old 7th March 2013, 10:34 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: dig not returning any results

Is your name server working correctly? Dig should be working out of the box at least it does with Fedora 16.

Try the google name server instead:

Code:
dig @8.8.8.8 google.com MX
Reply With Quote
  #3  
Old 7th March 2013, 04:37 PM
Smit-Tay Offline
Registered User
 
Join Date: Dec 2006
Posts: 83
linuxchrome
Re: dig not returning any results

Do you mean that your router is indicated in the ANSWER section or in the information at the bottom of the output, like this ?

;; Query time: 36 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Mar 7 17:36:15 2013
;; MSG SIZE rcvd: 175
Reply With Quote
  #4  
Old 7th March 2013, 05:30 PM
molossus's Avatar
molossus Offline
Registered User
 
Join Date: Sep 2010
Location: U.S
Posts: 15
linuxchrome
Re: dig not returning any results

Quote:
Originally Posted by Smit-Tay View Post
Do you mean that your router is indicated in the ANSWER section or in the information at the bottom of the output, like this ?

;; Query time: 36 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Mar 7 17:36:15 2013
;; MSG SIZE rcvd: 175
yes doesnt matter what i try to get from dig, it just return the address of my router in the response
host command works fine i can get ns and mx results.
could it be my isp? or firewall that prevents dig from working properly?
Reply With Quote
  #5  
Old 8th March 2013, 02:29 AM
Smit-Tay Offline
Registered User
 
Join Date: Dec 2006
Posts: 83
linuxsafari
Re: dig not returning any results

I think dig is simply a utility to let you perform any number of DNS queries that would normally be done on your behalf by other apps like a browser or MTA. It should always work.

Have you modified resolve.conf ?

Have you thoroughly read the man page.
Reply With Quote
  #6  
Old 8th March 2013, 11:16 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: dig not returning any results

Btw it's /etc/resolv.conf

To rule out any problems with your isp's name server or your router's dodgy name server/proxy just use a different name server.
Reply With Quote
  #7  
Old 9th March 2013, 08:41 PM
Smit-Tay Offline
Registered User
 
Join Date: Dec 2006
Posts: 83
windows_7chrome
Re: dig not returning any results

Quote:
Originally Posted by george_toolan View Post
Btw it's /etc/resolv.conf
Indeed. My mistake. I accidentally applied a human language spelling to a file I am uncomfortably familiar with.
Reply With Quote
  #8  
Old 9th March 2013, 10:46 PM
molossus's Avatar
molossus Offline
Registered User
 
Join Date: Sep 2010
Location: U.S
Posts: 15
linuxchrome
Thumbs up Re: dig not returning any results

Found the solution, the problem is my isp , which is att uverse router

normally dig google.com should return A records , but in my case it didnt ,

the fix is to use +noedns

HTML Code:
dig +noedns google.com
and it works perfectly
Reply With Quote
  #9  
Old 10th March 2013, 01:58 PM
Smit-Tay Offline
Registered User
 
Join Date: Dec 2006
Posts: 83
linuxchrome
Re: dig not returning any results

Sounds like you have a mis-configured router or firewall.

The EDNS protocol should be fairly transparent, unless your router or firewall is trying to second guess the conversation. It may be that one or the other sees the unusual size of the EDNS UDP packet and decides it something malicious, and so discards it. That's not really supposed to happen, obviously.
Reply With Quote
Reply

Tags
dig, results, returning

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning to Fedora keithrk Using Fedora 1 10th February 2011 04:32 PM
Returning strings in C pepribal Programming & Packaging 6 25th February 2007 03:14 PM
Returning to Linux Weeks Fedora Focus 6 27th January 2006 06:05 PM
FC4 not returning to textmode on shutdown alcapone Using Fedora 2 2nd September 2005 10:24 AM
FC4 not returning to textmode on shutdown alcapone Using Fedora 0 17th August 2005 08:44 PM


Current GMT-time: 04:21 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat