Hello everyone!
I would actually check to verify that, but I'm not anywhere near my internal network and i guess its my never-ending curiosity that needs to have an answer right here right now to plan its next steps, so here it goes:
So far In order to avoid excessive work in my rc.firewall with my dhcp'd servers (like torrent and such) i would use variable when DNAT'ing.
for example:
Quote:
$IPT -t nat -A PREROUTING -p tcp -i $INET_IFACE --destination-port 62411:62511 -j DNAT --to-destination $LIN_SRV
|
But recently I set up bind along with dhcpd. So now, is it possible that I use dns names (like myTorServer.homeintranet.home) instead of bash variables for my roaming servers?
such as:
Quote:
$IPT -t nat -A PREROUTING -p tcp -i $INET_IFACE --destination-port 62411:62511 -j DNAT --to-destination myTorServer.homeintranet.home
|
i.e. do iptables do name resolution (or use resolv.conf for that etcetc?)
thank you!