Date: Mon, 9 Sep 1996 21:57:54 -0400 From: Craig Shrimpton <craigs@os.com> To: Dave Babler <dbabler@rigel.orionsys.com> Cc: questions@freebsd.org Subject: Re: dumb named setup question Message-ID: <Pine.3.89.9609092141.A9355-0100000@solar.os.com> In-Reply-To: <Pine.BSI.3.95.960909153719.2738A-100000@rigel.orionsys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Sep 1996, Dave Babler wrote:
> directory /etc/namedb
> cache . named.root
> primary 0.0.127.IN-ADDR.ARPA localhost.rev
> primary rigel.orionsys.com rigel.bak <--- added
Your domain is orionsys.com not rigel.orionsys.com.
> ---- /etc/hosts.conf
> Rigel.orionsys.com
> nameserver 199.190.65.3
> nameserver 198.67.33.102
> ---- /etc/namedb/rigel.bak (new)
> @ IN SOA Rigel.orionsys.com. root.Rigel.orionsys.com. (
> 960909 ; Serial
> 3600 ; Refresh
> 300 ; Retry
> 3600000 ; Expire
> 3600 ) ; Minimum
> IN NS Rigel.orionsys.com.
> IN NS ns.dx.net
> MX 10 rigel.orionsys.com
> rigel IN A 205.148.224.9
> www2 IN CNAME rigel.orionsys.com
> 1 IN PTR rigel.orionsys.com.
> ----
This is majorly screwed up. Don't put IN-ADDR.ARPA pointers in your zone
file. Besides, the pointer is wrong anyway. It would be 9 for rigel not 1.
Also, you are missing punctuation in your MX and CNAME
records. You better re-read the book because this is hosebagged.
Here is how you should do it:
-------------------- zone file for wldigital virtual domain -------------
;
; Addresses and other host information.
;
@ IN SOA wldigital.com. craigs.solar.os.com. (
96072100 ;Serial
43200 ;Refresh
3600 ;Retry
3600000 ;Expire
2419200 ) ;Minimum
; Define the nameservers and the mail servers.
IN NS solar.os.com.
IN NS venus.os.com.
IN A 199.232.136.79
IN MX 5 solar.os.com.
IN MX 20 venus.os.com.
;
;
; Define the hosts in this zone.
;
www IN CNAME wldigital.com.
;
----------------------------- named.boot -------------------------------
directory /etc/namedb
; type domain source host/file backup file
cache . named.ca
primary 0.0.127.IN-ADDR.ARPA localhost.rev
primary wldigital.com wldigital.hosts
------------------------------------------------------------------------
You are on your own for IN-ADDR.ARPA stuff as it will not work anyway
unless your provider points his reverse lookups to you. Also, make sure
your local host 0.0.127.IN-ADDR.ARPA stuff is right. That's easy since
every host in the world has the same one.
Good luck,
Craig
+------------------------------------+--------------------------------------+
| Craig Shrimpton | e-mail: craigs@os.com |
| Orbit Systems | information: info@os.com |
| Worcester, MA 508.753.8776 | http://www.os.com/ |
+------------------------------------+--------------------------------------+
_/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/ _/_/_/_/
_/ _/ _/ _/ _/ _/ _/ _/
_/ _/ _/_/_/ _/_/_/_/ _/ _/
_/ _/ _/ _/ _/ _/ _/ _/
_/_/_/_/ _/ _/ _/_/_/_/ _/_/_/_/ _/
Strategic Systems
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9609092141.A9355-0100000>
