Results 1 to 1 of 1
hi all..
i need ur help..
i have simple linux redhat9 network and these are the configuration files of dns server i make them by hand . the dns server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-10-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 5
redhat9 DNS help
hi all..
i need ur help..
i have simple linux redhat9 network and these are the configuration files of dns server i make them by hand . the dns server work well .from dns server i can ping to itself and other clients by hostname but when i ping from client to client or to dns server the reply unknown host what is the problem ????these are the conf of the server and the client:anyone can help me plz do.
the server config:
/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;
};
//
// a caching only nameserver config
//
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 "russ.roro" IN {
type master;
file "russ.roro.zone";
allow-update { none; };
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.in-addr.arpa.zone";
allow-update { none; };
};
include "/etc/rndc.key";
/var/named/russ.roro.zone:
$TTL 86400
@ IN SOA com1.russ.roro. admin.com1.russ.roro. (
5 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS com1.russ.roro.
com1 IN A 192.168.1.1
com2 IN A 192.168.1.2
/var/named/1.168.192.in-addr.arpa.zone:
$TTL 86400
@ IN SOA com1.russ.roro. admin.com1.russ.roro. (
3 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS com1.russ.roro.
1 IN PTR com1.russ.roro.
2 IN PTR com2.russ.roro.
/etc/resolv.conf:
search com1.russ.roro
nameserver 192.168.1.1
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=com1.russ.roro
GATEWAY=192.168.1.1
client config files:
/etc/resolv.conf:
search com1.russ.roro
nameserver 192.168.1.1
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=com2.russ.roro
GATEWAY=192.168.1.1
russul


Reply With Quote
