I have installed the RedHat5.2 and Bind. But the DNS server seems not
work properly.
My setting list below:
/etc/hosts
127.0.0.1 localhost localhostlocaldomain
100.100.100.10 .qginet.com
100.100.100.10 ns.qginet.com ; Name Server
100.100.100.10 www.qginet.com ; Web Server
/etc/resolv.conf
search qginet.com
nameserver 100.100.100.10
/etc/named.conf
options {
directory "/var/named";
};
zone "." {
type hint;
file "localname.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "localname";
};
/etc/named.boot
......
; Add
primary qginet.com qginet.db
secondary 100.100.100.in-addr.arpa qginet.rev
I hope to set name server and web server on one machine. I run ">ndc
restart", then I used nslookup command to check it. Command nslookup
can't find any ip address on there. Should I have to connect the linux
server to internet or network to do this check? Does anyone can give any
suggestion about that? Thanks.
Hanbing
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]