DNS

From Eastnet
Jump to: navigation, search

Local Zone Files

DNS Notes - This is how DNS tends to be set up for Eastnet hosted sites.


$TTL    86400   ; one day
@                       IN SOA  ns0.eastnet.ca. hostmaster.eastnet.ca. (
                        201004090010    ; Serial
                        10800           ; Refresh 3 hrs
                        3600            ; Retry 1 hour
                        604800          ; Expire 1 week
                        86400   )       ; TTL
                        IN      NS      ns0.eastnet.ca.
                        IN      NS      ns0.uknet.net.
                        IN      NS      hicom.org.
                        IN      NS      ns.scramworks.net.
$ORIGIN example.com.
                        IN      MX      10 ASPMX.L.GOOGLE.COM.
                        IN      MX      20 ALT1.ASPMX.L.GOOGLE.COM.
                        IN      MX      20 ALT2.ASPMX.L.GOOGLE.COM.
                        IN      MX      30 ASPMX2.GOOGLEMAIL.COM.
                        IN      MX      30 ASPMX3.GOOGLEMAIL.COM.
                        IN      MX      30 ASPMX4.GOOGLEMAIL.COM.
                        IN      MX      30 ASPMX5.GOOGLEMAIL.COM.
                        IN      A       78.47.217.147
*                       IN      A       78.47.217.147
sites                 IN      CNAME   ghs.google.com.
calendar           IN      CNAME   ghs.google.com.
docs                 IN      CNAME   ghs.google.com.
mail                  IN      CNAME   ghs.google.com.
googlekey        IN      CNAME   google.com.


This will point most things to Google, except for the Web which will go into Eastnet. If the site is to be a Weblog then it needs an alias in /etc/apache2/sites-available/phatic.org and a site and alias in Wordpress. Then it should all work relatively well.

Sometimes, I remember to ask Scramworks for secondary DNS. The other secondary DNS's are generally hicom.org and ns0.uknet.net

External Links