MLUG: [MLUG] DNS question
[MLUG] DNS question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hullo. I was wondering about how the search line in /etc/resolv.conf
works. I was under the impression it searched what was in there first,
before trying just the exact name.

For example:
if resolv.conf reads:
search foo.bar
nameserver 127.0.0.1

and I tried:
ping www.kernel.org

I was under the impression it'd try
www.kernel.org.foo.bar
and then
www.kernel.org

I wanted to change this behaviour because our (masq'ing) firewall forwards
port 80 to an internal machine, and it seems not to work when an internal
machine attempts to connect to the external ip of the firewall.

I added an alias for tinydns, but when I ping, it still comes back from
the external ip of the firewall.

If anyone knows why or (even better) knows a better way of fixing the
port forwarding+masq'ing problem, I'd appreciate the help.

--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/