-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jacob,
Like I said, I don't have my ref book here, but I don't think you are
supposed to have a nameserver entry point to a CNAME...
- ----------------------------------------------------------
> IN NS dhamma.metta.lk.
>dhamma IN CNAME metta.lk.
- ----------------------------------------------------------
I would recommend changing you named.hosts files as follows:
- ----------------------------------------------------------
/var/named.hosts
- ----------------
;DNS-Format-Version-1
; Domains defined in this file:
; metta.lk.
; col7.metta.lk
$ORIGIN metta.lk.
@ IN SOA dhamma.metta.lk. root.metta.lk. (
8 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; minimum
)
IN NS dhamma.metta.lk.
IN NS server1.tradenetsl.lk.
dhamma IN A 204.143.107.46
IN A 204.143.107.46
metta.lk. IN MX 10 dhamma.metta.lk.
www IN CNAME dhamma.metta.lk.
col7.metta.lk. IN A 172.16.1.1
col7.metta.lk. IN MX 10 metta.lk. ;I'm not sure you need this
col4.metta.lk. IN A 172.16.2.1
col7.metta.lk. IN MX 10 metta.lk ;I'm not sure you need this
/var/named.rev
- --------------
;DNS-Format-Version-1
;
; Domains defined in this file:
; 107.143.204.in-addr.arpa.
;
$ORIGIN 107.143.204.in-addr.arpa.
@ IN SOA dhamma.metta.lk. root.dhamma.metta.lk. (
1 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; minimum
)
IN NS dhamma.metta.lk.
IN NS server1.tradenetsl.lk.
34 IN PTR server1.tradenetsl.lk.
46 IN PTR dhamma.metta.lk.
- ----------------------------------------------------------
Here's the dig of your domain (metta.lk)
as you can see, in the section where it lists, nameservers, dhamma is not
listed.
- ----------------------------------------------------------
[robbie@sauron robbie]$ dig metta.lk
; <<>> DiG 8.1 <<>> metta.lk
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; QUERY SECTION:
;; metta.lk, type = A, class = IN
;; ANSWER SECTION:
metta.lk. 8h18m30s IN A 204.143.107.46
;; AUTHORITY SECTION:
metta.lk. 1W IN NS server1.tradenetsl.lk.
metta.lk. 1W IN NS edb.tradenesl.lk.
;; ADDITIONAL SECTION:
server1.tradenetsl.lk. 1W IN A 204.143.107.34
;; Total query time: 179 msec
;; FROM: sauron to SERVER: default -- 208.25.246.2
;; WHEN: Sun Jun 27 21:44:44 1999
;; MSG SIZE sent: 26 rcvd: 121
- ----------------------------------------------------------
At 08:41 PM 6/27/99 , you wrote:
>
>
>On Sun, 27 Jun 1999, Robbie Walker wrote:
>
>> I'm pretty sure that you need to have your NS entries pointing to A
>> entries, not CNAME... that is probably what's behind it.
>
>I do not quite understand, would you mind correcting my lines below,
>I know I ought to get a DNS book
>but unfortunately I do not have a propper manual.
>
>> At 06:04 AM 6/27/99 , you wrote:
>> >
>> >
>> >hi all,
>> >
>> >Sorry for not giving a subject in my earlier mail
>> >
>> >First of all I must say that I am a NEWBIE running RH6.0.
>> >After following your list for some weeks,
>> >I did the installation of qmail on a test server.
>> >
>> >when executing ./config
>> >I got the following error.
>> >
>> >-------------------------
>> >Your hostname is dhamma.metta.lk.
>> >Sorry, I couldn't find your host's canonical name in DNS.
>> >You will have to set up control/me yourself.
>> >-------------------------
>> >./config-farst is ofcause the first solution.
>> >I know this is not a Qmail problem, but I will have to settle it,
>> >and do not quite know what this means.
>> >Could someone kindly let me know
>> >if the files I have setup below are correct
>> >
>> >I am running this server as a main server that will be on the Net 24hours
>> >and will be collecting mail on this server for subdomains
>> >the subdomains will dial up on a ppp link and download mail
>> >
>> >my main domain is "metta.lk" IP 204.143.107.46
>> >and the subdomains are "col7.metta.lk" local IP 172.16.1.1
>> >and "col4.metta.lk" local IP 172.16.1.1
>> >
>> >/var/named.hosts
>> >----------------
>> >;DNS-Format-Version-1
>> >; Domains defined in this file:
>> >; metta.lk.
>> >; col7.metta.lk
>> >$ORIGIN metta.lk.
>> >@ IN SOA dhamma.metta.lk. root.metta.lk. (
>> > 7 ; serial
>> > 28800 ; refresh
>> > 7200 ; retry
>> > 604800 ; expire
>> > 86400 ; minimum
>> > )
>> > IN NS dhamma.metta.lk.
>> > IN NS server1.tradenetsl.lk.
>> >
>> > IN A 204.143.107.46
>> > IN MX 10 dhamma.metta.lk.
>> >
>> >metta.lk. IN A 204.143.107.46
>> > IN MX 10 dhamma.metta.lk.
>> >
>> >dhamma IN CNAME metta.lk.
>> >
>> >
>> >www IN A 204.143.107.46
>> >
>> >col7.metta.lk. IN A 172.16.1.1
>> > IN MX 10 metta.lk.
>> >col4.metta.lk. IN A 172.16.2.1
>> > IN MX 10 metta.lk
>> >
>> >
>> >/var/named.rev
>> >--------------
>> >;DNS-Format-Version-1
>> >;
>> >; Domains defined in this file:
>> >; 107.143.204.in-addr.arpa.
>> >;
>> >$ORIGIN 107.143.204.in-addr.arpa.
>> >@ IN SOA dhamma.metta.lk. root.dhamma.metta.lk. (
>> > 1 ; serial
>> > 28800 ; refresh
>> > 7200 ; retry
>> > 604800 ; expire
>> > 86400 ; minimum
>> > )
>> > IN NS dhamma.metta.lk.
>> > IN NS server1.tradenetsl.lk.
>> >34 IN PTR server1.tradenetsl.lk.
>> >46 IN PTR metta.lk.
>> >
>> >
>> >
>> >
>>
>>
>> ______________________
>> NovaMetrix Development
>> Robbie Walker, head muckety-muck
>> and programmer
>>
>> P.O. Box 635 or 910-653-4006
>> 106-B S. Main St 800-773-5647
>> Tabor City, NC 28463 910-653-2052 FAX
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: PGP for Personal Privacy 5.5.2
>>
>> iQA/AwUBN3ak/JXFAH7noR9mEQKFAACg4AIcbVcvQFyxzpt8fHsgFdGPi28AoIsH
>> JTPRD7of1KVoqopLURdy/hrs
>> =oIM1
>> -----END PGP SIGNATURE-----
>>
>
______________________
NovaMetrix Development
Robbie Walker, head muckety-muck
and programmer
P.O. Box 635 or 910-653-4006
106-B S. Main St 800-773-5647
Tabor City, NC 28463 910-653-2052 FAX
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.5.2
iQA/AwUBN3bYbzrJV5JQYcnnEQIZPACgwh2S+ZMsjjgjzWyz9Sh8UO1dtUAAoLe9
p5PNFDoSANeuIuyxk+8mXFsR
=L/0Q
-----END PGP SIGNATURE-----