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";
zone "0.0.127.in-addr.arpa" {Quote:};
type master;
file ".named.127.0.0.0";
zone "255.in-addr.arpa" {Quote:};
type master;
file ".named.255.0.0.0";
zone "0.in-addr.arpa" {Quote:};
type master;
file ".named.0.0.0.0";
zone "." {Quote:};
type hint;
file "root.cache";
zone "aixpanish.com" {Quote:};
type master;
file "aixpanish.com";
zone "211.32.80.in-addr.arpa" {Quote:};
type master;
file ".named.80.32.211.0";
/etc/aixpanish.comQuote:};
$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.