Host a Domain on Your SUSE Linux Enterprise Server Box
Novell Cool Solutions: Trench
By Geoffrey Pointon
Digg This -
Posted: 14 Nov 2005
Obtain a DDNS Service
Open an account with a Dynamic DNS provider such as DynDNS. Their dynamic DNS service is free, reliable and very easy to establish.
Make a note of your username and password. In this example we'll use 'johndoe' as the username and 'passing' as the password.
All you need to provide is your 'Hostname' and choose one of their domains.
If you tick the 'Enable Wildcard' option, DNS will believe your server can do anything i.e. Web, Mail, ftp etc.
You can tick the 'Mail Exchanger (optional)' and use one of their chargeable services for mail relay and forwarding.
Install a Dynamic DNS Client
ddclient ships with SUSE, so from YaST-Software-Install and Remove Software, enter ddclient in the search field and follow the instructions to install it.
I've stripped the file down to the bare minimum:
daemon=300 # Number of seconds before IP address is checked again syslog=yes # Log update messages to syslog mail-failure=root # Mail only failed updates to root pid=/var/run/ddclient.pid # Records the Process ID of ddclient # Checks with DynDNS what your externally facing IP address is #that's the one on your router plugged into your cable modem. use=web, web=checkip.dyndns.org/, web-skip='IP Address' protocol=dyndns2 # The protocol DynDNS use for Dynamic DNS # The DynDNS server that manages your IP address and DNS resolution server=members.dyndns.org login=johndoe # Your DynDNS login name password=passing # Your DynDNS password wildcard=yes # Use wildcard DNS CNAME
Verify That it is Working
There are a number of simple command lines you can use to get it up and running:
If you use the DynDNS check IP service (http://checkip.dyndns.org/) from a web browser, you should see the IP address of your router which is attached to the internet.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com