Re: Can I define a DNS server to listen on an alternate port?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Andrew Hodgson (me3_at_privacy.net)
Date: 09/04/04


Date: Sat, 04 Sep 2004 19:21:34 +0100

On Fri, 3 Sep 2004 20:30:30 -0700, "Peter Steele"
<psteele@z-force.com> wrote:

>I need to define a DNS delegate for our name server that handles a certain
>class of addresses. For example, say I define a delegate that will handle
>all references to fred.mydomain.com. In other words, if the user enters
>something like
>
> fred.mydomain.com
>
>instead of the normal DNS being used to resolve this name it will instead be
>delegated to another DNS server, specifically a special DNS server that I've
>written. What I'd like to do is have my DNS server bind to a different port
>than the normal DNS port, and tha tin itself is easy enough since I wrote
>the code. What I can't do is tell the main DNS server that the delegate I've
>set up listens on a different port. Is there a way to configure this?

Don't do that, as DNS requests take place on TCP/UDP port 53, how will
other DNS servers know that requests need to go to a different port?
There is no way to specify this information in the DNS.

Why can't you place records for fred.yourdomain.com in your main
server, are you planning to put a lot of records there and have them
dynamically controled or something? Why not just put the nameserver
for fred.yourdomain.com onto a different NIC or machine? If this is a
public nameserver, have you thought about how you will handle
secondaries?

Andrew.

-- 
 Andrew Hodgson in Bromyard, Herefordshire, UK.
My Email: use <andrew at hodgsonfamily dot org>.


Relevant Pages

  • Re: Unknown svchost.exe DNS port 53 network activity
    ... activity on my router as well as my PC LAN connection icon in the tray. ... port 53 with a remote address of my ISP's DNS server. ... No traffic can come to the machine, unless you have opened the inbound port ... Svchost allows the communication between machines in a LAN or WAN situation. ...
    (comp.security.firewalls)
  • RE: problems receiving e-mail to my server redux
    ... I installed BIND on my Linux box and set it up to start at every ... > To: Ed McCorduck ... > run a dns server if you want things to work. ... > which implies that you are trying to use port 80 for your dns server. ...
    (RedHat)
  • Re: SendPort
    ... If you want your DNS server should listen on port other than 53, ... the best way would be to have a firewall or set up NAT, ... on which the DNS servers is listening then what will you achieve with this? ...
    (microsoft.public.windows.server.dns)
  • Re: questionable access to my computer - please help
    ... > Download portref.zip from: wilders.org for a full port reference listing. ... > If the firewall is blocking internet access to that addy, ... even shows you that it _is_ a DNS server. ... The only question here is what is more stupid, this firewall simulation ...
    (comp.security.firewalls)
  • Re: DNS lookup not working
    ... That is exactly why it is not working because you have filtering enabled on ... UDP and it is blocking return traffic to your computer from your ISP DNS ... The only time you would want to enable UDP filtering for port 53 ... would be if you were running a DNS server. ...
    (microsoft.public.windowsxp.security_admin)