Results 1 to 1 of 1
Given Server IP address : 10.0.0.1 [server.mydomain.com]
client1 IP address : 10.0.0.2 [client1.mydomain.com]
I have used the following command but it failed.
forwarders { 10.0.0.1; };
zone “mydomain.com” in {
...
- 08-04-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 3
Configuring DNS Master Server and Errors
Given Server IP address : 10.0.0.1 [server.mydomain.com]
client1 IP address : 10.0.0.2 [client1.mydomain.com]
I have used the following command but it failed.
forwarders { 10.0.0.1; };
zone “mydomain.com” in {
type master;
file “master/mydomain.com.zone”;
};
zone “0.0.10.in-addr.arpa” in {
type master;
file “master/10.0.0.zone”;
};
2nd part
$TTL 172800
mydomain.com. IN SOA server.mydomai.com.
server.mydomain.com. (
2007080301
1D
2H
1W
3H
)
digitalairlines.com. IN NS server.mydomain.com.
server IN A 10.0.0.1
client1 IN A 10.0.0.2
3rd part
$TTL 172800
0.0.10.in-addr.arpa. IN SOA server.mydomain.com.
server.mydomain.com. (
2007080302
1D
2H
1W
3H
)
IN NS server.mydomain.com.
server IN PTR server.mydomain.com.
client1 IN PTR client1.mydomain.com.
When I started the DNS Server, the following error showed.:
Aug 3 15:46:29 ET0023 named[9492]: using 1 CPU
Aug 3 15:46:29 ET0023 named[9492]: loading configuration from '/etc/named.conf'
Aug 3 15:46:29 ET0023 named[9492]: listening on IPv6 interfaces, port 53
Aug 3 15:46:29 ET0023 named[9492]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 3 15:46:29 ET0023 named[9492]: binding TCP socket: address in use
Aug 3 15:46:29 ET0023 named[9492]: listening on IPv4 interface eth0, 10.0.0.1#53
Aug 3 15:46:29 ET0023 named[9492]: binding TCP socket: address in use
Aug 3 15:46:29 ET0023 named[9492]: command channel listening on 127.0.0.1#953
Aug 3 15:46:29 ET0023 named[9492]: command channel listening on ::1#953
Aug 3 15:46:29 ET0023 named[9492]: dns_rdata_fromtext: master/10.0.0.zone:2: near eol: unexpected end of input
Aug 3 15:46:29 ET0023 named[9492]: zone 0.0.10.in-addr.arpa/IN: loading master file master/10.0.0.zone: unexpected end of input
Aug 3 15:46:29 ET0023 named[9492]: zone 0.0.127.in-addr.arpa/IN: loaded serial 42
Aug 3 15:46:29 ET0023 named[9492]: dns_rdata_fromtext: master/mydomain.com.zone:3: near eol: unexpected end of input
Aug 3 15:46:29 ET0023 named[9492]: zone mydomain.com/IN: loading master file master/mydomain.com.zone: unexpected end of input
Aug 3 15:46:29 ET0023 named[9492]: zone localhost/IN: loaded serial 42
Aug 3 15:46:29 ET0023 named[9492]: running


Reply With Quote