December 20th, 2001, 04:53 PM
Running DNS on different ports
Hi, I was just wondeing if there is anyway to run DNS on a port other than 53. Is this easy? I saw what freebsd was saying about djbdns and how you can configure them by putting in the ip, would I just put 126.96.36.199:999? Thanks!
December 20th, 2001, 08:24 PM
>> anyway to run DNS on a port other than 53
No. You can set the query-source port to use unprivileged ports but you need to bind it to port 53, unless you want one-dimensional communication with other nameservers.
>> how you can configure them by putting in the ip
I say must, not can. In BIND, everything is placed into a big binary, whereas djbdns splits into dnscache, tinydns, axfrdns and rbldns. They are completely different things. In djbdns, if you need to run authoritative DNS server, you need udp 53 on your external IP, no others. For dnscache, you can run it on 192.168.0.1 or external IP or even 127.0.0.1, but still, udp 53 remains unchanged. That's why I said BIND confuses many people, even at sysadmin level.
>> would I just put 188.8.131.52:999