LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-03-2005, 06:52 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
Unhappy dig problem.


mandrake 10.0
i have connected internet by a proxy server.
i know the remote DNS server ip address.
i have running "named" daemon.
but i did not get the IP ADDRESS OF A GOOGLE SERVER.

[root@Simlab-node3 staff]# dig google.com

; <<>> DiG 9.2.3 <<>> google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@Simlab-node3 staff]#


please guide through right direction.
 
Old 08-04-2005, 12:04 AM   #2
roopunix
Member
 
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Rep: Reputation: 30
what is in your /etc/resolv.conf

did you insert your DNS server IP iver there

#vi /etc/resolv.conf
nameserver Primary DNS_IP
nameserver secondary DNS_Ip
 
Old 08-04-2005, 07:11 AM   #3
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
my DNS server ip is 10.1.1.1 and 10.1.1.2 i am sure.

my file like this......

[root@localhost staff]# cat /etc/resolv.conf
search Internetserver.mitit.edu
nameserver 10.1.1.1
nameserver 10.1.1.2
[root@localhost staff]#


so i think somethink should be change to dig ... pls.
 
Old 08-04-2005, 07:17 AM   #4
roopunix
Member
 
Registered: Feb 2004
Location: Kathmandu
Distribution: Redhat/fedora/Suse [Wanna Drive With Debian]
Posts: 208

Rep: Reputation: 30
Give me a Break

are you able to browse the internet??
 
Old 08-04-2005, 07:42 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
yes now i am posting this thread from my system only.
so clearly i have internet connection.

than where went wrong?
 
Old 08-25-2005, 12:25 AM   #6
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
The problem is not with dig, it is with dns. It looks like its not forwarding dns queries.

in your /etc/bind/named.conf.options (I'm using debian for examples here, I have not used many rpm distros) look for:

Code:
forwarders {
       0.0.0.0;
};
If it is comented out, un comment it, then change the 0.0.0.0; to one of your ISP's dns. You may have to look around a bit to find the above, it may be in a different file.

Mine looks like this:
Code:
forward first;
forwarders {
209.181.0.1;
205.171.3.65;
};
Restart bind-- try your dig again. Should at least get you that far.


Have fun

 
  


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
dig problem . bruse Linux - Networking 3 11-26-2005 07:21 AM
host vs dig jpbarto Linux - Networking 2 08-06-2003 10:17 AM
netbios yes; dig no; ? odious1 Linux - Networking 2 07-11-2003 09:49 AM
dig andox Linux - Security 1 07-05-2003 08:47 AM
dig OK but can not ping Kocil Linux - Newbie 1 04-23-2003 02:26 PM

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

All times are GMT -5. The time now is 07:55 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