RE: [SLE] DNS server configuration - root of the domain howto?
-----Original Message----- From: Sunny [mailto:sloncho@gmail.com] Sent: Tuesday, May 23, 2006 11:08 AM To: SuSE List Subject: Re: [SLE] DNS server configuration - root of the domain howto?
On 5/23/06, Marlier, Ian wrote:
Sunny,
It's this line:
IN A 217.8.216.11
for a specific host within the domain, it would read somehost IN A aaa.bbb.ccc.ddd
Leaving out the "somehost" part tells it to resolve the domain with
no hostname to that address.
Thanks Ian.
Now, I'm confused. Reading Admin Guide (SuSE 9.3, dead tree version), on pages 434-435 there is a sample listing of DNS config, and there is (lines 12-13 of the listing):
gateway IN A 192.168.0.1 IN A 192.168.1.1
Then, on page 436, in the explanation of lines 12-17 there is: "Two IP addresses are assigned to the host gateway, because it has two network cards."
Is it wrong documentation, or I miss something?
I assume order matters...the blank-host definition of the domain resolution needs to be the first A-record defined, I would guess? I actually hadn't ever noticed that before. Interesting. Named has all sorts of funny little quirks.
Marlier, Ian wrote:
gateway IN A 192.168.0.1 IN A 192.168.1.1
Then, on page 436, in the explanation of lines 12-17 there is: "Two IP addresses are assigned to the host gateway, because it has two network cards."
Is it wrong documentation, or I miss something?
I assume order matters...the blank-host definition of the domain resolution needs to be the first A-record defined, I would guess?
Yes, that's correct. Order does matter.
I actually hadn't ever noticed that before. Interesting. Named has all sorts of funny little quirks.
Indeed. /Per Jessen, Zürich
Marlier, Ian wrote:
I assume order matters...the blank-host definition of the domain resolution needs to be the first A-record defined, I would guess?
I actually hadn't ever noticed that before. Interesting. Named has all sorts of funny little quirks.
Yes, because a blank host entry does _not_ mean the domain name. Instead, it means "use the same name as in the previous record" -- which works for the first A record, because the previous one was probably the SOA or some NS record for that domain. If you want to specify explicitly a record for your domain name, use "@" as a place holder for the domain name: @ IN A 192.168.0.1 works everywhere in a zone file. Most often one does this for MX records, for example. Cheers, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
participants (3)
-
Joachim Schrod
-
Marlier, Ian
-
Per Jessen