Re: BIND 9 on a dynamic ip address

From: Christopher Kelley (bsd_at_kelleycows.com)
Date: 04/11/05

  • Next message: Lis: "Re: Loading Samba Shares at Startup"
    Date: Mon, 11 Apr 2005 14:47:04 -0700
    To: "Ryan J. Cavicchioni" <ryan@confabulator.net>
    
    

    >
    >
    >Date: Sun, 10 Apr 2005 16:22:07 -0500
    >From: "Ryan J. Cavicchioni" <ryan@confabulator.net>
    >Subject: Re: BIND 9 on a dynamic ip address
    >To: Ash <omniBSD@speakeasy.net>, FreeBSD Questions
    > <freebsd-questions@freebsd.org>
    >Message-ID: <425998FF.8040208@confabulator.net>
    >Content-Type: text/plain; charset=ISO-8859-1
    >
    >All I am really looking to do is learn DNS and BIND as well as host my
    >own local DNS server for faster DNS lookups within my home network.
    >Would using the invalid LAN domain have any negative afters on my web or
    >ftp server? I am really new at BIND, sorry if I seem clueless. Thank you
    >for taking the time to help me out.
    >
    >Ash wrote:
    >
    >
    >
    >>> Ryan J. Cavicchioni wrote:
    >>>
    >>
    >>
    >>>>> Thank you for the replies. Ash, can I use my dynamic dns hostname as
    >>>>> the domain which actually points to my network? Would that still be
    >>>>> trouble?
    >>>>>
    >>>>> Ash wrote:
    >>>>>
    >>>
    >>>
    >>>
    >>>
    >>> You can use your dynamic host name as the domain, however I'm not
    >>> really sure why you would want to. By definition dynamic domain names
    >>> change; Why would you want to reconfigure your DNS server
    >>> configuration files as well as all of your hosts every time your ISP
    >>> assigns a new IP/host name to you?
    >>>
    >>> I don't see any advantage in using your dynamic host name over an
    >>> invalid TLD. What are the goals that you are trying to resolve by
    >>> using your dynamic host name as your local LAN's domain name? Perhaps
    >>> we can come up with a solution that requires less work, but still
    >>> addresses your concerns.
    >>>
    >>> -Ash
    >>>
    >>

    If I understand correctly what you want to do, what you name your
    network internally isn't connected to your dynamic DNS hostname at all.
    The dynamic DNS hostname only gets internet traffic to your firewall.
    Your firewall rules tell your firewall what to do with inbound connections.

    So your external hostname might be "cavicchioni.dyndns.org" But
    internally, your network can have whatever name you want. For instance,
    if you were a Star Trek fan, and had all your computers named after
    characters on Star Trek, you might name your internal network
    "ryantrek.lan". If you try to access cavicchioni.dyndns.org from a
    computer on your internal network, it has to go out to an external DNS
    server to get your external (dynamic) IP, and it will essentially route
    back to yourself, and your firewall rules will determine what happens to
    your connection. But if you want to access "spock.ryantrek.lan" from
    your internal network, it only goes to your local DNS server, and you
    connect directly to spock. Note that your dynamic dns hostname and your
    local network hostnames aren't connected in any way.

    Also note that ".lan" is an invalid TLD on the internet, but to my
    (probably warped) way of thinking, that's a bonus, as there will never
    be a site on the internet called ryantrek.lan that you might want to
    visit and not be able to because of your internal DNS.

    Or maybe I've misunderstood and this whole explanation is worthless. ;)

    Finally, I found the website http://www.sendmail.org/tips/private-dns/
    to be very helpful in setting up my local DNS server. YMMV.

    Christopher

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Lis: "Re: Loading Samba Shares at Startup"

    Relevant Pages

    • Re: Non-domain connection problem
      ... You said that you "hard coded the DNS server to a known DNS on the internet: ... Connect to Internet from Internal Network ... NSLOOKUP always looks for the SBS as the default gateway. ...
      (microsoft.public.windows.server.sbs)
    • Re: ISA 2006 Basic Configuration
      ... Why would we point Preferred DNS to itself? ... Configuring the Internal Network Interface ... In the Internet Protocol Properties dialog box, ... Select the Use the following DNS server addresses option. ...
      (microsoft.public.isa.configuration)
    • Re: IE cant connect to any sites
      ... On the General tab in the Temporary Internet Files Folder, ... Click on "LAN Settings" and make sure everything is blank, ... Network settings ... IP address automatically", click on the DNS tab, disable DNS here, click ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: Urgent! New router and big disaster
      ... Both NICs should point to his internal IP for DNS. ... forward ports to it reliably in the router. ... I should have been more clear about internet connection.. ...
      (microsoft.public.windows.server.sbs)
    • Re: Urgent! New router and big disaster
      ... Both NICs should point to his internal IP for DNS. ... You should give your SBS a fixed external address so you can forward ports to it reliably in the router. ... I should have been more clear about internet connection.. ...
      (microsoft.public.windows.server.sbs)