Koozali.org: home of the SME Server

Domain and server

John

Domain and server
« on: February 19, 2003, 10:50:59 PM »
right,

currently i use a domain at xxx.no-ip.org to forward traffic to my e-smith server through my broadband internet connection.

I am thinking of registering a full .com domain name for my e-smith server mainly so i could get email addresses such as me@server.com.

Am i correct in thinking to do this all i have to do is register the domain i want with nic.com and during registration set the Name Server Information
to

Primary Name Server
my servers ip?
 
Secondary Name Server
?


Thanks

John

Bill Talcott

Re: Domain and server
« Reply #1 on: February 20, 2003, 12:21:09 AM »
By default, SME will only provide DNS to the LAN, not publicly. You can use something like www.zoneedit.com for (free) DNS though. I'm sure you could do some hacking to make the SME act as a public DNS server, but ZoneEdit is a whole lot easier.

Adam

Re: Domain and server
« Reply #2 on: February 21, 2003, 06:52:27 AM »
I agree.  Zoneedit.com is the easy and most reliable way to go!

Jim Little

Re: Domain and server
« Reply #3 on: February 21, 2003, 06:18:04 PM »
And here is a custom dns script you can use for zoneedit:

When you make your domain entries at zoneedit under IP addresses put one for your domain name and one with a wildcard for all subdomains eg.

IP Addresses:  Domain Name       IP Address
                           yourdomain.com   www.xxx.yyy.zzz
                           *.yourdomain.com www.xxx.yyy.zzz

where www.xxx.yyy.zzz is your current external IP address (which you can get with the ifconfig command).

below this line is the file /sbin/e-smith/dynamic-dns/custom

#!/bin/sh
#------------------------------------------------------------
# Custom dynamic DNS update handler - for zoneedit.
#------------------------------------------------------------

IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN=$4

#------------------------------------------------------------
# Your handler starts here.
#------------------------------------------------------------

wget -q -O /tmp/zoneedit.log \
--http-user=$USERID --http-passwd=$PASSWD \
http://dynamic.zoneedit.com/auth/dynamic.html?\
host=$DOMAIN,"*."$DOMAIN

logger -t zoneedit.com -f /tmp/zoneedit.log
#------------------------------------------------------------
# Your handler ends here.
#------------------------------------------------------------

exit 0

k_graham

Re: Domain and server
« Reply #4 on: February 22, 2003, 12:01:16 AM »
> Am i correct in thinking to do this all i have to do is
> register the domain i want with nic.com and during
> registration set the Name Server Information

I'ld suggest checking out www.mydomain.com it provides you with the choice of mail forwarding to a current account or using your own mx server, dns , sub domans, everything I can think of.

Ken Graham