[wplug] DNS server
Michael P. O'Connor
mpoas at linuxmail.org
Thu Jul 12 04:36:25 EDT 2001
I am working on getting a DNS server working on one of my computers I have include the 2 files could someone tell me why I am so stupid I just can not get them to work with the following error:
[mpop at HeartofGold mpop]$ nslookup
*** Can't find server name for address 192.168.110.2: No response from server
Default Server: morticia.cs.pitt.edu
Address: 136.142.79.191
> exit
[mpop at HeartofGold mpop]$
/etc/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;
recursion yes;
forwarders {
136.142.79.191;
};
};
//
// a caching only nameserver config
//
zone "." {
type hint;
file "named.ca";
};
zone "net" {
type master;
file "/var/named/net.hosts";
check-names ignore;
};
zone "mike.net" {
type forward;
forwarders {
192.168.110.2;
};
};
--------------
/var/named/net.hosts
---------------
$ttl 38400
net. IN SOA Dent.net. root.dent.net. (
993965884
10800
3600
432000
38400 )
net. IN NS Ford.
ford.net. IN A 192.168.110.1
dent.net. IN A 192.168.110.2
heartofgold.net. IN A 192.168.110.3
zaphod.net. IN A 192.168.110.4
deepthought.net. IN A 192.168.110.5
slartibartfast.net. IN A 192.168.110.6
ford.net. IN NS net
ford.net. IN HINFO eth0 linux
ford. IN A 192.168.110.1
dent. IN A 192.168.110.2
heartofgold. IN A 192.168.110.3
zaphod. IN A 192.168.110.4
deepthought. IN A 192.168.110.5
slartibartfast. IN A 192.168.110.6
ford.net. IN LOC 32w 45n
------------
Thanks.
--
Get your free email from www.linuxmail.org
Powered by Outblaze
More information about the wplug
mailing list