Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2000 00:51:21 -0700
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Kurtis Smith <ksscendyn@yahoo.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: DNS+Mail setup for Domain... Newbie one.. Help super Appreciated : )
Message-ID:  <20000801005121.B35074@184.215.6.64.reflexcom.com>
In-Reply-To: <4.3.2.7.2.20000731113045.00ac0100@pop.mail.yahoo.com>; from ksscendyn@yahoo.com on Mon, Jul 31, 2000 at 11:41:36AM -0700
References:  <4.3.2.7.2.20000731113045.00ac0100@pop.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[Some serious line wrap damage in the sent mail. And not even done by
Outlook Express. Fixed where it was interfering with replies. I won't
mention the unmentionble HTML that came with the mail too.]

On Mon, Jul 31, 2000 at 11:41:36AM -0700, Kurtis Smith wrote:

[snip, snip, snip, snip...]

> Create a configuration file for Ideal.  /etc/namedb/db.idealfasteners.com
> 
> ; Configuration for DNS of zone idealfasteners.com
> 
> idealfasteners.com.     IN      SOA     ideal.idealfasteners.com. 
> admin.idealfasteners.com(
>                                          1997010902      ;  Serial (date, 2 digit version of day)
                                           ^^^^^^^^^^
You wrote this in 1997? Note that this date format will not work after
the year 4294. The dreaded 4.294k bug.

>                                          86400           ;  refresh (1 day)
>                                          7200            ;  retry (2 
> hours)                                                              8640000 
> ;  expire (100 days)
>                                          86400   )       ; minimum (1 day)

You are missing a TTL. Later versions of BIND will whine about it.

> ; Name Servers
> 
>                  IN      NS      ns1
>                  IN      NS      ns2
> ns1             IN      A       192.168.1.2
> ns2             IN      A       192.168.1.3
> 
> ; Mail Exchange Records
> 
>                  IN      MX      50      fasteners.idealfasteners.com
>                  IN      MX      75      ideal.idealfasteners.com

Fully qualified domain names (FQDN) need to end with a '.',

                 IN      MX      50      fasteners.idealfasteners.com.
                 IN      MX      75      ideal.idealfasteners.com.

> ; Hosts
> 
> ideal           IN      A       192.168.1.2
> fasteners       IN      A       192.168.1.3
> 
> ; Nicknames of Machines
> 
> mail            IN      CNAME   ideal
> www             IN      CNAME   fasteners
> ftp             IN      CNAME   ideal
> 
> ; System Information HINFO records
> 
> ideal           IN      HINFO           "Intel Pentium Celeron 533A"
> fasteners       IN      HINFO           "Intel Pentium 150Mhz"

You really want to make that public? Kind of a security risk.

> ; End of db.idealfasteners.com

[snip]

> Now you have to create the localhost.rev for reverse DNS lookup this will 
> be created in /etc/namedb/localhost.rev
> 
> @               IN      SOA     ideal.idealfasteners.com. 
> admin.idealfasteners.com. (
>                                  1997010902      ;  Serial (date, 2 digit 
> version of day)
>                                  86400           ;  refresh (1 day)
>                                  7200            ;  retry (2 
> hours)                                                              8640000 
> ;  expire (100 days)
>                                  86400   )       ; minimum (1 day)
>                  IN      NS      ns1.idealfasteners.com
>                  IN      NS      ns2.idealfasteners.com
> 
> 1               IN      PTR     ideal.idealfasteners.com
> 2               IN      PTR     fasteners.idealfasteners.com

Again with TTL and again with ending FQDN with '.'.
-- 
Crist J. Clark                           cjclark@alum.mit.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000801005121.B35074>