Very newbie question
Fil
shinymetal at mwsitalia.com
Thu Nov 30 19:37:16 UTC 2000
hi all
I have a ( probably ) very simple question.
I'm currently using a fixed and public IP on the internet, and I have a router that maps my public IP to the 192.168.1.101 private IP. On this net I have 3 different pc's, in different places in my home.
What I don't know is how to configure bind in this situation : what address have to be written in the named.conf file ?
I think something like this:
options {
directory "/etc/named";
listen-on { 192.168.1.101; 127.0.0.1; };
};
zone "1.168.192.in-addr.arpa" {
type master;
file "named.rev";
};
zone "mysite.com" {
type master;
file "named.hosts";
allow-update { 192.168.1.101; };
};
zone "." {
type hint;
file "root.cache";
};
And the named.hosts file is :
; Authoritative data for mysite.com
;
@ IN SOA ns.mysite.com. root.mysite.com. (
00111002 ; Serial
21600 ; Refresh 6 hours
300 ; Retry 5 minutes
2592000 ; Expire 30 days
21600 ) ; Minimum 6 hours
IN NS ns.mysite.com.
;
; our domain
@ IN A 192.168.1.101
IN MX 10 mail.mysite.com.
;
; Our primary nameserver
;
www IN A 192.168.1.101
and the question is : where to put my public IP address ?!?!?
I hope someone can reply to this.
Thanx
Fil
More information about the bind-users
mailing list