On Wed, Nov 17, 1999 at 12:35:42PM +0100, Nagy Balazs wrote:
Hi,
> ;; ANSWER SECTION:
> col7.metta.lk. 3h21m IN NS server1.tradenetsl.lk.
> col7.metta.lk. 3h21m IN NS dhamma.metta.lk.
> col7.metta.lk. 3h31m35s IN MX 10 metta.lk.
> col7.metta.lk. 23h58m23s IN A 172.16.1.1
> // **** This is a problem. You have to erase the A record from the outer
> // metta.lk zone. That server can store all messages which come to col7 to
> // a folder (ie. ~alias/172.16.1.1/), but qmail doesn't have to have that
> // dns entry.
Thank you very much for your answer, and sorry for the long silence.
We have had to change our IP's and that caused a bit of problems.
Without the A record in the zone file
when I do a "nslookup col7.metta.lk" I get host not found
If i put the A record back in the zone file then it is ok
Below is my col7.metta.lk zone file.
Would it be ok to put the ip of metta.lk as an A record
inplace of the 172.16.1.1 entry.
Please see the sample below.
$ORIGIN col7.metta.lk.
$TTL 86400
@ IN SOA narada.col7.metta.lk.
hostmaster.col7.metta.lk. (
1999120601 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN NS metta.lk.
IN NS server1.tradenetsl.lk.
IN MX 10 metta.lk.
//*** IN A 172.16.1.1
//*** IN A 203.115.29.130
narada.col7.metta.lk. IN CNAME col7.metta.lk.
I could also remove the col7.metta.lk zone file
and make a CNAME in the metta.lk zone file.
Which of the 2 ways is the correct way ?
below is the metta.lk zone file with the CNAME entry.
$ORIGIN metta.lk.
$TTL 86400
@ IN SOA dhamma.metta.lk. hostmaster.metta.lk. (
1999120601 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
IN NS metta.lk.
IN NS server1.tradenetsl.lk.
@ IN MX 10 metta.lk.
IN A 203.115.29.130
www IN CNAME metta.lk.
WWW IN CNAME metta.lk.
dhamma IN CNAME metta.lk.
//*** col7.metta.lk. IN CNAME metta.lk.
Thank you very much for your assistance
Jacob