LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Dynamic DNS and public IP addresses (https://www.linuxquestions.org/questions/linux-networking-3/dynamic-dns-and-public-ip-addresses-677276/)

bubblenet 10-18-2008 03:59 AM

Dynamic DNS and public IP addresses
 
I'm afraid I'm not a BIND expert although I've managed to setup my
home DNS server. Nothing fancy, just to serve as a LAN DNS redirector
for my home PCs.

Now I'm facing a much more complex task for which I'm asking the
help of this community:

I want to setup my DNS server to publicly serve a domain name
(let's call it: example.com) whose corresponding website is
hosted on a server whose IP address changes more or less every
week. And so does my own LAN's public IP address although at a
different rate.

All dynamic DNS examples I could find on the Internet where about
serving LAN machines. That's not my case. The server hosting the
website is far away from my LAN and under a different TSP.

To complicate the task I would like to provide only the translation
of the IP address in order for the website to be publicly visible
and leave my service provider (GANDI), where the domain is registered
with, to handle mail in order to take advantage of their powerful
mail service.

Is that possible? How should I modify my DNS configuration in order
to achieve my aim?

Thanks for your help,

Joachim

carltm 10-18-2008 04:29 AM

Every time the address changes in the root servers it takes
up to a day for the updates to promulgate. That is why
people with a dynamic address will pick a different server
to host their DNS. However, if your second server is
dynamic, you still have the same problem, it just occurs
when the second server's IP address changes. What you
need to do is select a second server that has a static
address.

bubblenet 10-21-2008 03:57 AM

If I read you correctly I should be able to use the following DNS architecture:

1) top tier --> my provider's DNS server
2) 2nd tier --> my own DNS server with fixed address
3) 3rd tier --> my own DNS server with dynamic address
4) my dynamic DNS client

[I know the 3rd tier isn't strictly necessary, but it helps me simplify the management of 2nd tier server which will always refer to the 3rd where all the other internal definitions are.]

Now, assuming I can find a second server with static address to use, what would be the third tier DNS server changes I should add to its current configuration in order to serve the client?


All times are GMT -5. The time now is 02:07 PM.