resolv.conf option for nameserver with specific port number

Kevin Darcy kcd at daimlerchrysler.com
Fri May 18 19:52:42 UTC 2007


Peter Dambier wrote:
> Vishwas wrote:
>   
>> Hi,
>>
>> How should the nameserver entry in /etc/resolv.conf file look like if
>> a DNS is NOT running on the default port number (53).
>>
>>     
>
>  From my resolv.conf
>
> ...
> options {
> ...
> # listen-on port 53 { any; };
>    listen-on port 53 { 192.168.208.227; 192.168.48.227; 127.0.0.1; };
>    listen-on port 3001 { 192.168.208.227; 192.168.48.227; 127.0.0.1; };
> # listen-on port 5353 { any; };
> # listen-on port 5355 { any; };
> ...
> zone "." in {
>    type slave;
>    file "DNSOP/cesidian-root.zone";
> # masters { 205.189.71.2; 205.189.71.26; 205.189.71.34; };
> # masters { 82.199.205.254 port 3001; };
>    masters { 212.97.45.53; 82.199.205.254 port 3001; };
> };
> ...
>
> Using this nameserver config and using my local nameserver I can
> "tunnel" the firewall.
>
>
> I am told Sun and Mac can understand
>
> /etc/resolv.conf
> ----------------
>
> nameserver 192.168.48.227:3001
> nameserver 192.168.208.228:53
> nameserver 192.168.48.222
>
>   
Just tried it on Solaris 9 and it didn't work.

- Kevin



More information about the bind-users mailing list