DNS problem
From: Johan Abrahamsson (johan.abrahamsson_at_ericsson.REMcomOVE)
Date: 10/26/04
- Previous message: David Kirkby: "Re: How many directories can I have ?"
- Next in thread: Michael Tosch: "Re: DNS problem"
- Reply: Michael Tosch: "Re: DNS problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 26 Oct 2004 11:16:13 +0200
Hej,
We are trying to set up an internal DNS where a dns lookup will give us
2 ip-addresses back.
We have created a directory /var/named and put 3 files there. The files
are called
1) domain-info, contains:
$ORIGIN domain.se.
localhost 86400 IN A 127.0.0.1
clustertest 86400 IN A 136.225.122.112
86400 IN A 136.225.122.206
2) loopback-domain-info, contains:
@ IN SOA hostname.domain.se. root.domain.se. (
12345;
43200;
3600;
604800;
86400;
)
IN NS hostname.domain.se. ; secondary
1 IN PTR localhost.domain.se.
3) named.root, contains:
. IN NS hostname.domain.se.
hostname.domain.se. IN A 136.225.122.112
We have also changed the resolv.conf file so it looks like this:
search domain.se
nameserver 127.0.0.1
The last file we have changed is the /etc/named.conf file and it looks
like this:
options {
DIRECTORY "/var/named";
};
zone "." in {
type hint;
file "named.root";
};
zone "domain.se" in {
type slave;
file "domain-info";
masters {
136.225.122.112;
};
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "loopback-domain-info";
};
After these changes in.named was restarted. This worked in solaris 8
where the bind version was 8.2.2.
However in solaris 9 the bind version in 8.3.3 and we can't get it to
work anymore.
This is the errors we reveive in the /var/adm/mesasges
Oct 26 09:40:32 lu10-8 named[12189]: [ID 295310 daemon.notice] starting
(/etc/named.conf). in.named BIND 8.3.3 Wed Feb 18 23:46:02 PST 2004
Oct 26 09:40:32 lu10-8 Generic Patch-5.9-May 2002
Oct 26 09:40:32 lu10-8 named[12189]: [ID 295310 daemon.warning] Zone
"domain.se" (file domain-info): no SOA RR found
Oct 26 09:40:32 lu10-8 named[12189]: [ID 295310 daemon.error] slave zone
"domain.se" (IN) rejected due to errors (serial 0)
Oct 26 09:40:32 lu10-8 named[12189]: [ID 295310 daemon.warning] Zone
"0.0.127.in-addr.arpa" (file loopback-domain-info): No default TTL ($TTL
<value>) set, usin
g SOA minimum instead
Oct 26 09:40:32 lu10-8 named[12190]: [ID 295310 daemon.notice] Ready to
answer queries.
Oct 26 09:40:32 lu10-8 named-xfer[12191]: [ID 826191 daemon.notice]
[136.225.122.112] not authoritative for domain.se, SOA query got rcode
0, aa 0, ancoun
t 0, aucount 1
What modifications are needed to get this to work in Solaris 9?
Best regards,
Johan
- Previous message: David Kirkby: "Re: How many directories can I have ?"
- Next in thread: Michael Tosch: "Re: DNS problem"
- Reply: Michael Tosch: "Re: DNS problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|