index Previous Next



To access the web server and mail server from the internet your public ip and hostname should be
in the /etc/resolv.conf like:
127.0.0.1 localhost
172.56.35.63 example.net example
For dynamic ip use dynamic dns servers like zoneedit.com
, dnsexit.com,
freedns.afraid.org and dns.he.net.
Setup the ddclient for zoneedit:
copy the ddclient to the /usr/sbin, make a dir /etc/ddclient and copy the ddclient.conf to it, create a dir /var/cache/ddclient and /var/run/ddcleint.These are the changes in ddclient.conf for zoneedit.com:
#daemon=300 # check every 300 seconds
syslog=yes # log update msgs to syslog
mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
ssl=yes # use ssl-support. Works with
use=if, if=ppp0 # via interfaces
## ZoneEdit (zoneedit.com)
##
server=legacy.zoneedit.com, \
protocol=zoneedit1, \
login= , \
password= \
example.net, www.example.net, mail.example.net
Add the ddclient to the ip-up.local then ddcleint will update the ip in zoneedit.com server in every dialup connection.
For the other servers use their dns clients.
