I don't know how to describe the problem. I have configured my named.conf
and zone files like the DNS-HOWTO describes, but still it fails. The logs
read that each file is loaded correctally and that a bind fails:
ctl_server: bind: Address already in use
So, I want to have one ip, 63.224.68.185 for the www and nameserver,
and the other .126 for twig. What am I missing? Please help me.
Below are my conf files.
Thankyou
David
[EMAIL PROTECTED]
named.conf:
// Name Server for asksimon.com
// configured by David Hajoglou
//
//
options {
directory "/var/named";
//forward first;
//forwarders {
//};
};
zone "." {
type hint;
file "root.hints";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.domain";
};
zone "asksimon.com.in-addr.arpa" {
type master;
file "asksimon.com.domain";
};
zone "68.224.63.in-addr.arpa" {
type master;
file "68.224.63.domain";
};
-----------------------------
68.224.63.domain:
; reverse mapping of domain names 68.224.63.in-addr.arpa
;
@ IN SOA asksimon.com. gateway1.asksimon.com. (
199908261 ; Serial (yymmddxx format)
3H ; Refresh 3 Hours
1H ; Retry 1 hour
1W ; Expire 1 week
1D ) ; Minimum 1 day
NS asksimon.com.
185 PTR gateway1.asksimon.com.
186 PTR twig.asksimon.com.
------------------------------------------
asksimon.com.domain:
; Authoritative data for asksimon.com
;
@ IN SOA asksimon.com. gateway1.asksimon.com. (
1 ; Serial (yymmddxx)
3H ; Refresh 3 hours
1H ; Retry 1 hour
1000H ; Expire 1000 hours
1D ) ; Minimum 1 day
NS asksimon.com.
MX 110 mailhost
localhost A 127.0.0.1
gateway1 A 63.224.68.185
twig A 63.224.68.186
ftp CNAME gateway1
www CNAME gateway1
-----------------------------
0.0.127.domain:
; Reverse mapping of domain names 0.0.127.in-addr.arpa
; Nobody pays attention to this, it is only so 127.0.0.1 -> localhost.
@ IN SOA asksimon.com. gateway1.asksimon.com. (
1 ; Serial (yymmddxx)
3H ; Refresh 3 hours
1H ; Retry 1 hour
1000H ; Expire 1000 hours
1D ) ; Minimum 1 day
NS asksimon.com.
1 PTR localhost.