Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-02-2002, 08:56 AM
|
#1
|
Member
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81
Rep:
|
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?
|
|
|
09-02-2002, 12:33 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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??
|
|
|
09-02-2002, 10:55 PM
|
#3
|
Member
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177
Rep:
|
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.
|
|
|
09-03-2002, 07:32 AM
|
#4
|
Member
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81
Original Poster
Rep:
|
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 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!!!
|
|
|
09-03-2002, 11:40 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well if you think you have an old list, get a new one..... dig @e.root-servers.net
|
|
|
09-04-2002, 04:13 AM
|
#6
|
Member
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81
Original Poster
Rep:
|
ping 216.239.39.101 (wich is google) works perfectly from my Linux box...
|
|
|
09-04-2002, 04:57 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
so what? we'd got as far as making a new root.hints file...
|
|
|
09-04-2002, 05:32 AM
|
#8
|
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458
Rep:
|
|
|
|
09-05-2002, 04:31 PM
|
#9
|
Member
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81
Original Poster
Rep:
|
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!?
|
|
|
09-05-2002, 05:01 PM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you don't, it's all controlled automatically by the named daemon i believe
|
|
|
09-05-2002, 05:25 PM
|
#11
|
LQ Newbie
Registered: Dec 2001
Location: Cubicle
Distribution: Mandrake 8.0
Posts: 9
Rep:
|
Coud anyone here help me with my DNS problem? Thanks
~nexty
|
|
|
09-05-2002, 08:50 PM
|
#12
|
Member
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177
Rep:
|
I've replied to your original post - check out my reply.
|
|
|
09-06-2002, 04:42 AM
|
#13
|
Member
Registered: Jan 2002
Location: Europe, Romania
Distribution: Slackware 9.1
Posts: 81
Original Poster
Rep:
|
Quote:
Originally posted by rohang
I've replied to your original post - check out my reply.
|
I've posted my /etc/named.conf...
|
|
|
All times are GMT -5. The time now is 12:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|