Dynamic DNS
From Gentoo Linux Wiki
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
Please format this article according to the guidelines and Wikification suggestions, then remove this notice {{Wikify}} from the article
[edit] Introduction
This HOWTO details the steps required to have your own domain without a static IP address and without having to pay for anything more than the domain name itself.
[edit] Prerequisites
- An Internet connection
- A domain (for ex. www.midominio.com.ar) registered in your country's NIC with Zoneedit's DNS
- You must follow the steps provided from your NIC
- When you need to enter the DNS servers to delegate the domain, just hold it there and continue registering the domain in your Zoneedit's Account
- A free account from Zoneedit
- Here you must add your domain and they will give the DNS IP and names to use for delegation of the domain
- Then you have to add those DNS servers in your country NIC for your domain (go back to the NIC web page and continue the registering process)
You can register your domain at your NIC and later delegate the domain to Zoneedit's DNS servers.
[edit] Software needed
Now you will need to install a program that will update your Zoneedit account every time your IP address changes. There are a few choices including Ddclient and ez-ipupdate.
See Ddclient for the installation and configuration of that program. The steps for installing and configuring ez-ipupdate are here:
First, emerge it:
# emerge -v net-dns/ez-ipupdate
Then create your configuration file:
| File: /etc/ez-ipupdate.conf |
service-type=zoneedit
server=dynamic.zoneedit.com
user=username:password
interface=eth1 # Your external Interface
host=www.midominio.com.ar # you must add this host at your
# zoneedit account the first time
# Do not change the lines below
cache-file=/tmp/ez-ipup
pid-file=/var/run/ez-ipupdate.pid
|
Note that in June 2008 ZoneEdit changed their server name from www.zoneedit.com to dynamic.zoneedit.com, so make sure to include the 'server' line to ez-ipupdate.conf.
Then just add ez-ipupdate to start on boot:
# rc-update add ez-ipupdate default
