Hello,
Well everyone, im having one hell of a time trying to get DNS to work on this fedora server. All im tryin to do is get my webserver,
www.metroinformationsystems.com to be resolved in DNS... www is also the name server for the network. The ip address is 192.168.2.25, and from my terminal i can ping
www.metroinformationsystems.com but its pinging 127.0.0.1 so i dont think its using DNS to resolve itself. Ive tried everything, ive bought two books, talked to several people, and done numerous howtos, went from fedora 2 back to fedora 1 with all the updates.. IT still will not work!!!! I cant believe how hard this is, i did it in class about 4 months ago and it WORKed fine! I am running Bind 9.2.2
I also get this error when i tried to reload named.
/etc/init.d/named reload
reloading named: 4005: no process killed [failed]
I checked to see named was running, it was, pid 4005... So im lost to why it wont reload...
Anyways here are my configs /etc/named.conf /var/named/metro.zone and /var/named/2.168.192.zone ...
named.conf :
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
*/
// query-source address * port 53;
};
//
// a caching only nameserver config
//
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "metroinformationsystems.com" IN {
type master;
file "metro.zone";
allow-update { none; };
};
zone "2.168.192.in-addr.arpa" IN {
type master;
file "2.168.192.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
include "/etc/rndc.key";
here is metro.zone, the forward lookup file
$TTL 86400
$ORIGIN metroinformationsystems.com.
@ IN SOA
www.metroinformationsystems.com. root.localhost (
1997022716 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400
) ; Minimum
IN NS 192.168.2.25
www IN A 192.168.2.25
Here is the reverse file 2.168.192.zone
$TTL 86400
$ORIGIN metroinformationsystems.com.
@ IN SOA www (
root
1997022715 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS
www.metroinformationsystems.com.
25 IN PTR
www.metroinformationsystems.com.
Thank you SO much for reading this, Andy