Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2000 12:58:45 +0100
From:      Gianmarco Giovannelli <gmarco@scotty.masternet.it>
To:        chat@freebsd.org
Subject:   Re: Nuovo DNS (sorry for the mistake)
Message-ID:  <38AA90F5.2B04FE2F@scotty.masternet.it>
References:  <38AA8642.2E09B5E2@scotty.masternet.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38AA90F5.2B04FE2F>