|
|
|
|
| Newbie Dns Server Configuration |
|
|
|
[Original]
[Print]
[Top]
|
Hi,
I'm a newbie in linux. Just set up and running a Fedora Core 3 BOX.
I've managed to configure allmost everything i wanted. But now i'm facing several problems with DNS server.
I've set up the dns server to forward queries to my ISP dns, but it doesn't resolve my internal lan names (after i will need to configure DHCP to update the DNS server, but for now i only want the dns to resolve some fixed aliased servers).
These commands were executed in the dns box (The refered fedora core 3) [root@fprm01 /]# host fprm01 Host fprm01 not found: 3(NXDOMAIN) [root@fprm01 /]# host fprm01.focuspoint-solutions.local Host fprm01.focuspoint-solutions.local not found: 2(SERVFAIL)
What is wrong 
This are my named files
-------------------------------------------------------- // named.conf file options { directory "/var/named"; forwarders { 194.65.100.117; 194.65.100.115; }; };
controls { inet 127.0.0.1 allow { localhost; } keys { rndckey; }; };
zone "." IN { type hint; file "named.ca"; };
zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; };
zone "0.0.127.in-addr.arpa" IN { type master; file "named.local"; allow-update { none; }; };
zone "focuspoint-solutions.local" IN { type master; file "focuspoint-solutions.local.zone"; allow-update { localhost; }; };
zone "50.168.192.in-addr.arpa" IN { type master; file "192.168.50.rev"; allow-update { localhost; }; };
include "/etc/rndc.key";
-------------------------------------------------------- ; 192.168.50.rev file $ORIGIN . $TTL 259200 ; 3 days 50.168.192.in-addr.arpa IN SOA fprm01.focuspoint-solutions.local. root.fprm01.focuspoint-solutions.local. ( 1997022700 ; serial 28800 ; refresh (8 hours) 7200 ; retry (2 hours) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) NS fprm01.voidmain.home. $ORIGIN 50.168.192.in-addr.arpa. ; Static Addresses $TTL 259200 ; 3 days 1 PTR fprm01.focuspoint-solutions.local. 50 PTR fprm02.focuspoint-solutions.local. ; This file will be automatically updated when DHCP issues an address $TTL 600 ; 10 minutes
-------------------------------------------------------- ; focuspoint-solutions.local.zone file $ORIGIN . $TTL 3600 ; 1 hour focuspoint-solutions.local IN SOA fprm01.focuspoint-solutions.local. root.fprm01.focuspoint-solutions.local. ( 1997022700 ; serial 21600 ; refresh (6 hours) 1800 ; retry (30 minutes) 604800 ; expire (1 week) 3600 ; minimum (1 hour) ) NS fprm01.voidmain.home. A 192.168.0.2 TXT "FocusPoint Solutions Main Home" $ORIGIN voidmain.home. ; Static Adresses $TTL 259200 ; 3 days fprm01 A 192.168.50.1 fprm02 A 192.168.50.50 ; This file will be automatically updated when a DHCP assigns an address $TTL 600 ; 10 minutes
-------------------------------------------------------- ; localhost.zone file $TTL 86400 $ORIGIN localhost. @ 1D IN SOA @ root ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum
1D IN NS @ 1D IN A 127.0.0.1
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
use nslookup to query your DNS servers to check. if you are on your Linux DNS server type: nslookup <enter> server 127.0.0.1 <enter> fprm01.focuspoint-solutions.local <enter>
If that doesn't come back with a good answer. Go look in the logs and see when bind is starting. It should tell you where the error in your DNS file is.
Good luck, bind is a pita. For future refrence I've always used djbdns. But I don't do dynamic updates. So I'm not sure if it would help you.
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
Which server did you put your name.conf and the others relatives files (your zone files) ? and did you point your fprm01/02 to your local dns server in resolve.conf ?
|
|
|
[Original]
[Print]
[Top]
|
|
|