View previous topic :: View next topic |
Author |
Message |
DaMightyWhightyMan Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Feb 2004 Posts: 116
|
Posted: Thu Nov 09, 2006 2:43 am Post subject: Bind DNS not working :( |
|
|
I have a clean install. It's one box, has 5 IPs assigned to it 1.2.3.130 - 134. I'm trying to setup a domain name.
For this post the domain name is dummy.net. The domain's name servers are ns1.dummy.net and ns2.dummy.net. The registrar already has things setup, I used to use it for name servers on a different box.
There's no firewall running so there shouldn't be only blocked ports.
an nslookup of dummy.net gives me a SERVFAIL
an nslookup of 1.2.3.130 gives me a non-authoritative answear of ns1.dummy.net
Any help would be great.
/etc/bind/named.conf.local
Code: |
zone "dummy.net" {
type master;
file "/etc/bind/dummy.net.hosts";
};
|
/etc/bind/dummy.net.hosts
Code: |
$ttl 38400
dummy.net. IN SOA ns1.dummy.net. mastah.dummy.net. (
1162706568
10800
3600
604800
38400 )
dummy.net. IN NS ns1.dummy.net.
dummy.net. IN NS ns2.dummy.net.
dummy.net. IN A 1.2.3.130
ns1.dummy.net. IN A 1.2.3.130
ns2.dummy.net. IN A 1.2.3.131
|
all other configs are just the default ones, nothing has been changed in them. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bjlockie Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Thu Nov 09, 2006 6:27 am Post subject: Re: Bind DNS not working :( |
|
|
Does the service start without errors?
/etc/init.d/namedstart
?? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bjlockie Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Oct 2002 Posts: 1186 Location: Canada
|
Posted: Thu Nov 09, 2006 6:30 am Post subject: |
|
|
Are there any servers in your /etc/resolv.conf file?
Try Quote: | nslookup dummy.net localhost |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ali3nx l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/169852878743a961fa2128e.gif)
Joined: 21 Sep 2003 Posts: 732 Location: Winnipeg, Canada
|
Posted: Thu Nov 09, 2006 6:42 am Post subject: |
|
|
If scripting bind zonefiles doesn't suit your tastes I've found using djbdns alongside vegadns to be a much more tolerable solution. vegadns is available in the webapps-experimental portage overlay. vegadns being a php based web app can also provide tiered security allowing users to manage their own hosted domains saving a LOT of time required for administration staff to manage service tickets for zonefile updates. There's a perl based replication script available called sql2data which pulls data from vegadns mysql db and populates the tinydns zonefile. safer and less work to configure than using axfrdns. I usually run it crontabbed every 10 minutes on my setup. We have a few hundred domains running with this setup and rarely have to attend to users requirements for any admin side intervention. _________________ Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaMightyWhightyMan Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Feb 2004 Posts: 116
|
Posted: Thu Nov 09, 2006 9:32 pm Post subject: Re: Bind DNS not working :( |
|
|
bjlockie wrote: | Does the service start without errors?
/etc/init.d/namedstart
?? |
no errors |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaMightyWhightyMan Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Feb 2004 Posts: 116
|
Posted: Thu Nov 09, 2006 9:34 pm Post subject: |
|
|
bjlockie wrote: | Are there any servers in your /etc/resolv.conf file?
Try Quote: | nslookup dummy.net localhost |
|
/etc/resolv.conf
Code: |
search
nameserver 216.234.234.30
|
nslookup dummy.net localhost still gives me a SERVFAIL |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DaMightyWhightyMan Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Feb 2004 Posts: 116
|
Posted: Thu Nov 09, 2006 9:34 pm Post subject: |
|
|
ali3nx wrote: | If scripting bind zonefiles doesn't suit your tastes I've found using djbdns alongside vegadns to be a much more tolerable solution. vegadns is available in the webapps-experimental portage overlay. vegadns being a php based web app can also provide tiered security allowing users to manage their own hosted domains saving a LOT of time required for administration staff to manage service tickets for zonefile updates. There's a perl based replication script available called sql2data which pulls data from vegadns mysql db and populates the tinydns zonefile. safer and less work to configure than using axfrdns. I usually run it crontabbed every 10 minutes on my setup. We have a few hundred domains running with this setup and rarely have to attend to users requirements for any admin side intervention. |
I'll probably switch if I can't get bind9 to work for me, thanks for the tip. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bunder Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Fri Nov 10, 2006 11:30 am Post subject: |
|
|
you can get bind to log more information by setting -d 255 in the /etc/conf.d/named file. it will output data to /var/named/named.run
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|