MX for mailhub and reverse pointer file

Kevin Darcy kcd at daimlerchrysler.com
Fri Feb 10 03:11:11 UTC 2006


Harry Putnam wrote:

>Setup: Gentoo linux (kernel 2.6.15-r3)
>       bind-9.3.2
>       sendmail-8.13.4
>Using bind/named as simple authoritative home lan server
>
>I want to get a correct MX set for my local lan mailserver but using
>the Bind and DNS 4th ed  I don't find examples that are really
>complete.  All the index hits on MX still leave me wondering what if
>anything needs to go into the reverse pointer file for the zone.
>
>Currently I have this pair of zone files and below the log from
>starting named with those in place.
>
>zone.local.net0
>------- 8< snip -------- 
>$TTL 1D
>@		IN SOA    reader.local.net0.  hostmaster (
>                        200405191 ; serial
>                        8H        ; refresh
>                        4H        ; retry
>                        4W        ; expire
>                        1D )      ; minimum
>;[HP 02/09/06 19:25  ] define the authoritative name server
>					IN     	NS      reader
>; [HP 02/09/06 19:25  ] defind domain mail server with MX record & 
>; matching A record
>; [HP 01/30/06 09:56 The 10 indicates priority [lower is higher]]
>		IN		MX		10	reader
>reader		IN		A		192.168.0.4
>
>; define domain functions with CNAMEs
>smtp				IN		CNAME		reader
>www				IN		CNAME		reader
>tic				IN		CNAME           reader
>
>;;;  From Bill Larson
>;;;	1.	"@" as the origin for a zone
>;;;	2.	Non-fully qualified names will be fully qualified with 
>;;;             the $ORIGIN
>;;;	3.	When the left hand name isn't specified, it carries
>;;;             over from the previous record
>
>localhost				IN		A       127.0.0.1
>;; local machines in alphabetical order
>ansil					IN		A       192.168.0.21
>bjp					IN		A       192.168.0.16
>fw					IN		A       192.168.0.20
>harvey					IN		A       192.168.0.22
>mob2					IN		A       192.168.0.3
>wap					IN		A       192.168.0.50
>------- 8< snip -------- 
>
>revp.192.168.0  Do I need something in here regarding the MX besides a
>                pointer to its A record?
>
No.

>
>Aside: Does the TTL need to be in the reverse file?  Named complains
>       about the SOA record not being at the top.
>
That complaint pertains to the 0.0.127.in-addr.arpa zone, not this one.

>
>------- 8< snip -------- 
>$TTL 1D 
>@    IN SOA  reader.local.net0. reader.reader.local.net0. (
>              200405190  ; serial
>              28800      ; refresh (8 hours)
>              14400      ; retry (4 hours)
>              2419200    ; expire (4 weeks)
>              86400      ; minimum (1 day)
>              )
>; define the authoritative name server
>                        IN      NS	reader.local.net0.
>;;;Do I need something here like:
>;;;                     IN      MX      reader.local.net0
>
Do you expect folks to be sending mail to user at 0.168.192.in-addr.arpa?

- Kevin




More information about the bind-users mailing list