Ip=host.Domain in Services: DNS forwarder
-
Hello, there is something I do not understand in Services: DNS forwarder.
I entered the following parameters:
Enable DNS forwarder = checked
Host = server
Domain = home.lan
IP = 192.168.1.22So from the network debian.home.lan is resolved I suppose that it isn't advertised to the outside due to ip class.
Now if I want to run a little web server on 192.168.1.22 can I set in pfsense DNS forwarder:
Host = server
Domain = mydomain.com
IP = my public ipThen NAT port 80 to 192.168.1.22 and configure apache and /etc/hosts that http://mydomaine.com will point to 192.168.1.22 from the outside ?
If pfsense doen't work as a DNS server for the internet, I will set a bind server on 192.168.1.22; it isn't in any DMZ (I know the security threat it represent but http serv is really only for my own use). Can bind work in such case ? which port shall I NAT for bind ?
Regards