|
Below is my Dns configuration file pls help me check error and tell me.
***************************************
File name: named.conf
options {
directory "var/named";
forwarders {
202.96.128.68;
};
allow-query { any; };
allow-transfer { any; };
};
zone "." {
type hint;
file "named.root";
};
zone "localhost" {
type master;
file "named.localhost";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.127.0.0";
};
zone "dgebfl.com" {
type master;
file "named.dgebfl.com";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "named.192.168.1";
};
********************************************************
File name: named.dgebfl.com
$TTL 600
@ IN SOA dgebfl.com. root.dgebfl.com. (
2002120601;
28800;
14400;
720000;
86400)
@ IN NS dgebfl.com.
@ IN MX 10 dgebfl.com.
dgebfl.com IN A 192.168.1.13
dgebfl.com IN TXT "The testing DNS server"
www.dgebfl.com IN CNAME dgebfl.com
**************************************************************
File name: named.192.168.1
$TTL 600
@ IN SOA dgebfl.com. root.dgebfl.com. (
2002120601;
28800;
14400;
720000;
85400)
@ IN NS dgebfl.com.
13 IN PTR dgebfl.com.
*********************************************************
File name: named.localhost
$TTL 600
@ IN SOA localhost. root.localhost. (
2002120601;
28800;
14400;
720000;
86400)
@ IN NS localhost.
localhost. IN A 127.0.0.1
***********************************************************
File name: named.127.0.0
$TTL 600
@ IN SOA localhost. root.localhost. (
2002120601;
28800;
1400;
720000;
86400)
@ IN NS localhost.
1 IN PTR localhost.
*********************************************************
Below is my want to set domain pls check my setting:
I want to set my domain is dgebfl.com.
below setting is in my network configuration :
DNS
hostname : dgebfl
primany dns : 192.168.1.13
sencond dns : 202.96.128.68
HOSTS
192.168.1.13 dgebfl.com www.dgebfl.com
127.0.0.1 dgebfl localhost localhost.admin
***********************************
I don't know network configuration setting and dns server setting have relation?
I will show my named configuration file on, pls help me check error.thanks. |
|