bind newbie

Comparini Luca luca.comparini at gmail.com
Mon Jun 12 14:04:16 UTC 2006


root at ns1.mydomain.local:# cat named.conf
....
zone "mydomain.local" {
        type master;
        file "/etc/bind/db.mydomain.local";
};
.....

root at ns1.mydomain.local:# cat /etc/bind/db.mydomain.local

$TTL    86400
@       IN      SOA     ns1.mydomain.local. mailaccount.mydomain.local.
(
                              1         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                          86400 )       ; Negative Cache TTL
;
@       IN      NS      ns1.mydomain.local.
@       IN      NS      ns2.mydomain.local.

@       IN      MX 10      mailserver.mydomain.local.
@       IN      A      10.0.0.4
mailserver       IN      A      10.0.0.2
firewall      IN      A      10.0.0.3

Best Regards

S t i n g r a y ha scritto:

> Well this is the first time i am trying to use bind
> now this is a bit confusing for me as i come from a
> Windows background,
> i try man page for named.conf & some other docs but i
> cant seem to get the picture here ..
>
>
> basically i have configured a cache only named server
> , but on the same server i want to register a domain
> called mydomain.local & 4 A records
>
> 10.0.0.2 my mailserver.mydomain.local
> 10.0.0.3 my firewall.mydomain.local
> 10.0.0.4 my webserver but this i want to come on my
> domain.local not webserver.mydomain.local
>
> i would greatly appriciate help
> thanks
>
>
> *º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



More information about the bind-users mailing list