Linux - NetworkingThis 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.
I am trying to setup a dns server (which is also a webserver) on debian lenny.
bind just does not want to start. It seems that I made a mistake in the configs files. I do not have any more error messages...
This is my named.conf.local
zone "ooole.be" {
type master;
file "/etc/bind/db.ooole.be"
};
and this is my db.ooole.be file
$TTL 85000
@ IN SOA ns.ooole.be. hostmaster.ooole.be. (
2009061001
8H
2H
1W
1D )
Bind works, but the DNS serveur does not work.
My registrar is correctly pointing on the dns server, but my dns server does not seems to work...
When I do a
nslookup www.oole.be
on my server, it works. But when I do it from outsite (at home), it does not work.
Do you have any suggestions or tools to help me debug this problem ?
My registrar is correctly pointing on the dns server, but my dns server does not seems to work...
Are you sure about that? Because as you can see from the following trace is seems that sdns1.ovh.net and r24786.ovh.net are authoritative for your domain.
Quote:
dig +trace oole.be
; <<>> DiG 9.6.1rc1 <<>> +trace oole.be
;; global options: +cmd
. 420885 IN NS B.ROOT-SERVERS.NET.
. 420885 IN NS D.ROOT-SERVERS.NET.
. 420885 IN NS J.ROOT-SERVERS.NET.
. 420885 IN NS I.ROOT-SERVERS.NET.
. 420885 IN NS F.ROOT-SERVERS.NET.
. 420885 IN NS L.ROOT-SERVERS.NET.
. 420885 IN NS A.ROOT-SERVERS.NET.
. 420885 IN NS K.ROOT-SERVERS.NET.
. 420885 IN NS H.ROOT-SERVERS.NET.
. 420885 IN NS C.ROOT-SERVERS.NET.
. 420885 IN NS E.ROOT-SERVERS.NET.
. 420885 IN NS M.ROOT-SERVERS.NET.
. 420885 IN NS G.ROOT-SERVERS.NET.
;; Received 272 bytes from 127.0.0.1#53(127.0.0.1) in 1 ms
be. 172800 IN NS a.ns.dns.be.
be. 172800 IN NS b.ns.dns.be.
be. 172800 IN NS c.ns.dns.be.
be. 172800 IN NS x.dns.be.
be. 172800 IN NS london.ns.dns.be.
be. 172800 IN NS prague.ns.dns.be.
be. 172800 IN NS brussels.ns.dns.be.
be. 172800 IN NS amsterdam.ns.dns.be.
;; Received 369 bytes from 193.0.14.129#53(K.ROOT-SERVERS.NET) in 106 ms
oole.be. 86400 IN NS sdns1.ovh.net.
oole.be. 86400 IN NS r24786.ovh.net.
;; Received 87 bytes from 194.0.1.10#53(x.dns.be) in 103 ms
;; Received 25 bytes from 213.251.188.140#53(sdns1.ovh.net) in 106 ms
According to your 1st post the NS record for oole.be is supposed to be ns.ooole.be, so you have to change that to r24786.ovh.net
And the main problem is that r24786.ovh.net is not reachable from the internet:
;; connection timed out; no servers could be reached
If this is the named server you're trying to configure, then you must configure your firewall to allow dns queries (open tcp/udp port 53)
Ok, when I try on the server
dig @87.98.153.183 www.oole.be
is does not work. But when I try
dig @127.0.0.1 www.oole.be
is works. But the firewall is not configured in debian by default, so I really don't see where it does not work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.