#1
  1. No Profile Picture
    YaBN (Yet another BSD Newbie)
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Posts
    74
    Rep Power
    13

    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 12.34.56.78:999? Thanks!
    -MattWil
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> 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 12.34.56.78:999

    You can't.

IMN logo majestic logo threadwatch logo seochat tools logo