RE: [SLE] DNS server configuration - root of the domain howto?
-----Original Message----- From: Sunny [mailto:sloncho@gmail.com] Sent: Tuesday, May 23, 2006 10:51 AM To: SuSE List Subject: Re: [SLE] DNS server configuration - root of the domain howto?
On 5/23/06, Per Jessen wrote:
Sunny wrote:
I need to prepare a DNS server as master for our domain. So far I succeed to do whatever I need, but do not know how to assign an IP address for the root of the domain, i.e. I know how to do serv1.mydomain.com, serv2.mydomain.com, etc., but how do I assign IP for "mydomain.com" only?
Here's an example:
$TTL 86400 ; 24 hours $ORIGIN jessen.ch. @ IN SOA ns1.enidan.ch. hostmaster.enidan.ch. ( 2006051000 ; serial 28800 ; refresh (8 hours) 7200 ; retry (2 hours) 604800 ; expire (1 week) 86400 ; minimum (1 day) ) IN TXT "v=spf1 ip4:217.8.216.8/29 -all"
IN NS ns1.enidan.ch. IN NS ns2.enidan.ch.
IN MX 0 bulwark.spamchek.net.
IN A 217.8.216.11 www IN CNAME jessen.ch.
localhost IN A 127.0.0.1
/Per Jessen, Zürich
Thanks Per, would you tell me which exact line defines the resolving of the host without anything before the domain name? Looks like I can not understand :)
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.
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? Cheers -- -- Svetoslav Milenov (Sunny) Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
Sunny wrote:
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?
That configuration will make anyone using gateway.x.x alternate between the two addresses. It's occasionally useful for round-robin style load-balancing. Imgaine you had two web-servers, one on 192.168.0.1 and the other on 192.168.1.1: www IN A 192.168.0.1 IN A 192.168.1.1 With this you'll get the load distributed about 50/50 over the two servers. (note: only good for serving static pages). /Per Jessen, Zürich
On 5/23/06, Per Jessen wrote:
Sunny wrote:
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?
That configuration will make anyone using gateway.x.x alternate between the two addresses. It's occasionally useful for round-robin style load-balancing.
Imgaine you had two web-servers, one on 192.168.0.1 and the other on 192.168.1.1:
www IN A 192.168.0.1 IN A 192.168.1.1
With this you'll get the load distributed about 50/50 over the two servers. (note: only good for serving static pages).
/Per Jessen, Zürich
So, wrong docs, hmmm. I'll check the 10.1 docs as well. -- -- Svetoslav Milenov (Sunny) Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
participants (3)
-
Marlier, Ian
-
Per Jessen
-
Sunny