From owner-freebsd-chat Wed Feb 16 4: 5:10 2000 Delivered-To: freebsd-chat@freebsd.org Received: from kirk.giovannelli.it (kirk.giovannelli.it [194.184.65.4]) by builder.freebsd.org (Postfix) with ESMTP id A0D6944C7 for ; Wed, 16 Feb 2000 04:05:04 -0800 (PST) Received: from scotty.masternet.it ([194.243.20.91]) by kirk.giovannelli.it (8.9.3/8.9.3) with ESMTP id NAA02853 for ; Wed, 16 Feb 2000 13:05:31 +0100 (CET) (envelope-from gmarco@scotty.masternet.it) Message-ID: <38AA90F5.2B04FE2F@scotty.masternet.it> Date: Wed, 16 Feb 2000 12:58:45 +0100 From: Gianmarco Giovannelli X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: chat@freebsd.org Subject: Re: Nuovo DNS (sorry for the mistake) References: <38AA8642.2E09B5E2@scotty.masternet.it> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gianmarco Giovannelli wrote: > > Come sapete il nuovo DNS accetta un parametro TTL per ogni host della > singola zona, se non lo trova genera un warning: > > Il problema quindi sta nel convertire un file vecchia maniera (es di una > intranet): > > ######### OLD STYLE > cofinco.it. IN SOA gmarco.cofinco.it. gmarco.freebsd.cofinco.it. ( > 1999121301 ; serial > 10800 ; Refresh > 3600 ; Retry > 604800 ; Expire > 86400) ; Minimum TTL > > IN MX 10 freebsd.cofinco.it. > IN A 192.168.0.1 > > cofinco.it. IN NS 192.168.0.1 > cofinco.it. IN NS 151.99.150.6 > cofinco.it. IN NS 194.184.65.2 > > freebsd IN A 192.168.0.1 > lombardo IN A 192.168.0.101 > daniela IN A 192.168.0.102 > empty1 IN A 192.168.0.103 > rachele IN A 192.168.0.104 > leo IN A 192.168.0.105 > ornella IN A 192.168.0.106 > luigi IN A 192.168.0.107 > > ######### NEW STYLE > > cofinco.it. 86400 IN SOA gmarco.cofinco.it. > gmarco.freebsd.cofinco.it. ( > > 1999121301 ; serial > 10800 ; Refresh > 3600 ; Retry > 604800 ; Expire > 86400) ; Minimum TTL > > 86400 IN MX 10 freebsd.cofinco.it. > 86400 IN A 192.168.0.1 > > cofinco.it. 86400 IN NS 192.168.0.1 > cofinco.it. 86400 IN NS 151.99.150.6 > cofinco.it. 86400 IN NS 194.184.65.2 > > freebsd 86400 IN A 192.168.0.1 > lombardo 86400 IN A 192.168.0.101 > daniela 86400 IN A 192.168.0.102 > empty1 86400 IN A 192.168.0.103 > rachele 86400 IN A 192.168.0.104 > leo 86400 IN A 192.168.0.105 > ornella 86400 IN A 192.168.0.106 > luigi 86400 IN A 192.168.0.107 > > #### FINE > > Ora la cosa fatta a mano va bene per un dominio ma se uno ne ha circa > 480 di zone da modificare la cosa puo' diventare noiosa. > Siccome la problematica dovrebbe essere comune a molti c'e' nessuno che > ha gia' fatto uno script awk/perl/sh per convertire i file ? > > Altrimenti mi metto al lavoro :-) Sorry for this message, but I'd like to write it to chat@gufi.org (FreeBSD italian user group) and obviusly it was in italian language. Btw I was asked if none has developed/written a perl/sh/awk script to convert the old way DNS zones into the new format (so named stop to generate warnings). Sorry again for the waste of bandwith. -- Regards... Gianmarco "Unix expert since yesterday" http://www.giovannelli.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message