Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My boss has me working on an ancient server at his place where there is no fancy cPanel to create sub/addon domains.

Basically what we have is a plain-text file that appears to be controlling all the records for the domain.

The actual site is hosted on: The URL is:

We need a subdomain, "", to send the user to a DIFFERENT server ( using an A-record (we think).

I would know how to do this with cPanel, but NOT with this plain text file that you see below:

**Here is our plain text "DNS control" file, called "":

$TTL 600
@   IN SOA (
                          2012081003    ; Serial
                          600       ; Refresh after 3 hours
                          600       ; Retry after 1 hour
                          600       ; Expire after 1 day
                          600 )     ; Minimum TTL of 1 day

@   IN NS
@   IN NS    IN  A
dns     IN  A
pubs        in  a
staging.pubs    in  cname   pubs
maint       in  cname
backup      in  cname
*       IN      cname    in  mx  10    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.

Would any of you super-user duders mind providing some insight or pointing me in the right direction? Thanks!

share|improve this question
What's not to know? Just copy the line starting with "pubs" and replace "pubs" with "application" and "" with "". I really don't see how you could not have figured this out from the format of the file ? – allquixotic May 29 '13 at 19:42             IN  A
application              IN  A
dns                      IN  A
pubs                     in  a

As suggested in comments by @Zoredache change this line:

                  2012081003    ; Serial


                  2013052901    ; Serial

That should work for you. Remember to backup config and to reload bind.

share|improve this answer
And update the serial number. Don't forget the serial. – Zoredache May 29 '13 at 20:17
Will also need to reload the bind config either via appropriate script or kill -1. – 84104 May 29 '13 at 20:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .