LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-02-2002, 08:56 AM   #1
Cubiq
Member
 
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81

Rep: Reputation: 15
DNS problem


I have a zone "." type hint and I've configured a file "root.hints" so the DNS server get the IPs from there but it doesn't! does anybody have any ideea why?
 
Old 09-02-2002, 12:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no one will have a clue with as little information as that!! what is the contentsw of the file? are tehre and errors in the "dmesg" output? does the daemon start freshly??
 
Old 09-02-2002, 10:55 PM   #3
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
Can you post your /etc/named.conf file as well?

Check what's going into /var/log/messages as well for information as to what's going on with BIND.
 
Old 09-03-2002, 07:32 AM   #4
Cubiq
Member
 
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
sorry... i was in a hurry...
here is my named.conf

options {
directory "/var/named";
};

zone "." IN {
type hint;
file "root.hints";
};

zone "badboys." IN {
type master;
file "badboys.zone";
allow-update { none; };
};

zone "0.168.192.in-addr.arpa" IN {
type master;
file "0.168.192.arpa";
allow-update { none; };
};

zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.arpa";
allow-update { none; };
};

zone "localhost" IN {
type master;
file "caching-example/localhost.zone";
allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
type master;
file "caching-example/named.local";
allow-update { none; };
};

and now rises a new problem(the old one it's solved) when I do
Code:
ping www.google.com
for example... my dns server tries to connect to the servers listed in root.hints(I think that's normal) but I think I have an old list or... something because he can't resolv my name...!
One more thing to make things clearer...
I have the DNS on a gateway between to subnet 192.168.0.0/24 and 192.168.1.0/30! I get access to the Internet through dial-up on the other computer in 192.168.1.0/30 (exactly 192.168.1.2, my Linux box has 192.168.1.1 and 192.168.0.2)
It is not a nat server but only router... I think 192.168.1.2 do SNAT! Correct? So... I have to put a DNS sever on a computer hwo gets a routeable IP??? Any soulution to my problem? How can I see the cache?? Thanks a lot for support!!!
 
Old 09-03-2002, 11:40 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well if you think you have an old list, get a new one..... dig @e.root-servers.net
 
Old 09-04-2002, 04:13 AM   #6
Cubiq
Member
 
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
Angry

ping 216.239.39.101 (wich is google) works perfectly from my Linux box...
 
Old 09-04-2002, 04:57 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
so what? we'd got as far as making a new root.hints file...
 
Old 09-04-2002, 05:32 AM   #8
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Here is some necessary reading...

http://www.linux.org/docs/ldp/howto/DNS-HOWTO.html

Regards,
Peter
 
Old 09-05-2002, 04:31 PM   #9
Cubiq
Member
 
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
how can I see the cache made by named(a dump or somthing like that...)??? and how can I change the amount of cache and how big can I set him!?
 
Old 09-05-2002, 05:01 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't, it's all controlled automatically by the named daemon i believe
 
Old 09-05-2002, 05:25 PM   #11
Nexty
LQ Newbie
 
Registered: Dec 2001
Location: Cubicle
Distribution: Mandrake 8.0
Posts: 9

Rep: Reputation: 0
Coud anyone here help me with my DNS problem? Thanks

~nexty
 
Old 09-05-2002, 08:50 PM   #12
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
I've replied to your original post - check out my reply.
 
Old 09-06-2002, 04:42 AM   #13
Cubiq
Member
 
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by rohang
I've replied to your original post - check out my reply.
I've posted my /etc/named.conf...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 problem. Please help! auroratrading Linux - Networking 1 04-05-2005 03:14 AM
problem with DNS bglad Linux - Networking 9 10-20-2003 06:39 AM
Possible DNS problem? JimBass Linux - Newbie 8 10-03-2003 11:23 PM
DNS problem with RH 8.0 datamisc Linux - Newbie 2 12-20-2002 01:37 PM
A DNS Problem ktamit Linux - Networking 0 04-28-2002 08:45 AM

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

All times are GMT -5. The time now is 12:21 AM.

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