I need help with DNS

I need help with DNS

Post by Jose » Sun, 24 Nov 2002 05:20:40



I'm doing a primary dns server on my aix 4.3.3 at my home. It seems works
fine from internet but i want that it works on my internal network.If
anybody can help me with a detailed example it will be welcome. Thanks.
I describe you schema of my network
domain: aixpanish.com
public ip:80.32.211.120
private ip: 172.26.0.1
server name:aixsrv.aixpanish.com
                                                                       |
internet
                                                                       |
80.32.211.120
                                                             Router ADSL
                                                                       |
172.26.0.1
                                                                       |
         -------------------------------------------------------------------
---------------------------
                             | 172.26.0.2
| 172.26.0.3
           Windows.Name:winxp.aixpanish.com           Aix/httpserver/DNS.
Name:aixsrv.aixpanish.com

/etc/named.conf

zone "localhost" {
      type master;
      file ".named.localhost";

Quote:};

zone "0.0.127.in-addr.arpa" {
      type master;
      file ".named.127.0.0.0";

Quote:};

zone "255.in-addr.arpa" {
      type master;
      file ".named.255.0.0.0";

Quote:};

zone "0.in-addr.arpa" {
      type master;
      file ".named.0.0.0.0";

Quote:};

zone "." {
      type hint;
      file "root.cache";

Quote:};

zone "aixpanish.com" {
      type master;
      file "aixpanish.com";

Quote:};

zone "211.32.80.in-addr.arpa" {
        type master;
        file ".named.80.32.211.0";

Quote:};

 /etc/aixpanish.com

$ORIGIN aixpanish.com.
;
; Mandatory minimum for a working domain

                        2002111213      ; serial, todays date + todays
serial
                        345600          ; Refresh
                        7200            ; Retry
                        2592000         ; Expire
                        864000 )        ; Minimum
      IN          A       80.32.211.120
                        NS        ns.aixpanish.com.
                        NS        ns6.gandi.net.
;

www   A      80.32.211.120
ns    A      80.32.211.120
aixsrv  A      172.26.0.3

/etc/.named.80.32.211.0


                                10             ; Serial
                                345600        ; Refresh
                                7200              ; Retry
                                2592000           ; Expire
                                864000 )        ; Minimum
                        NS      ns.aixpanish.com.
                  NS      ns6.gandi.net.
120         IN      PTR     www.aixpanish.com.
3           IN      PTR      aixsrv.aixpanish.com.
2           IN      PTR      winxp.aixpanish.com.