Hi my friends.
I'm learning bind9 on freebsd 8 running build in version.
This bind is running inside a jail and is working inside my private lan. I have a static IP from ISP and want to setup my first public site.
My first goal is to have a dns for my site. I have been reading and googling but I have some doubts about bind behind a firewall.
My jail host is my fw with pf, I already have 3 jails on it:
dns 192.168.X.A
web 192.168.X.B
mail 192.168.X.C
Inside my dns, went I setup my zone for my public name example: db . my-public-site do I have to use my public address or my private address for each A record?
Is all my doubt, appreciated your time and lessons!!!
I'm learning bind9 on freebsd 8 running build in version.
This bind is running inside a jail and is working inside my private lan. I have a static IP from ISP and want to setup my first public site.
My first goal is to have a dns for my site. I have been reading and googling but I have some doubts about bind behind a firewall.
My jail host is my fw with pf, I already have 3 jails on it:
dns 192.168.X.A
web 192.168.X.B
mail 192.168.X.C
Inside my dns, went I setup my zone for my public name example: db . my-public-site do I have to use my public address or my private address for each A record?
Code:
; DNS Servers
IN NS ns1 my - public - site.
; MX Records
IN MX 10 my - public - site.
; Machine Names
localhost IN A 127.0.0.1
ns1 IN A Public Or Private?
mail IN A Public Or Private?
web IN A Public Or Private?
; Aliases
www IN CNAME my - public - site.
Is all my doubt, appreciated your time and lessons!!!