Product:
Search Type:

How Do I Create Custom DNS Records?

Article ID: 3280 
Last Review: Nov,30 2007
APPLIES TO:
  • H-Sphere

RESOLUTION

To create a custom record to your DNS zone, do the following:



  1. Select Domain info in the Domain Settings menu.


  2. On the page that appears, click the Edit icon
    in the DNS Configuration field.


  3. This link will take you to the DNS Configuration page:



    On this page you can see several blocks of DNS records. Some
    are built-in and non-removable (for versions before 2.4.3 Patch 2); others
    are user-defined and can be deleted. Built-in MX records require special
    consideration: they can be removed by disabling mailservices for this domain.,
    but all e-mail resources, including mailboxes, forwarders,
    and autoresponders will also be deleted. The removal of H-Sphere
    2.x email services was made possible to enable the use of
    e-mail services provided by other mail servers.


    You can add any type of DNS records by clicking an appropriate
    link. You will be asked to enter corresponding DNS data.





 


Adding Custom A Records


Normally, A records are used to map domain names and web
server IP's.



If you have selected A record, the following page appears:





  • Name: enter the string to map to the web server.

  • TTL: set how many seconds will elapse before the
    record is refreshed in the DNS cache.

  • Data: enter the IP of the web server.



WARNING: Please pay attention to $ORIGIN when you add an
A record.



 


Adding Custom MX Records


Custom MX records should be added when you want to use
your external mail servers to process your e-mail. To use
your external servers instead of those you get by default,
you need to disable mail service on the Domain Settings

page of your control panel. To use the external mail servers
in addition to those you get by default, you need to
keep mail service enabled in the control panel. The priority
of the custom MX record will define whether your external
servers will act as secondary or primary. For instance,
if you set the priority of the custom MX record higher than 10
(e.g. 11), your external mail server will be used as secondary.
If you set the priority of the custom MX record lower than 10
(e.g. 9), your external mail server will be used as primary.
In the latter case, your mail will be sent to your external
mail server until it goes down or becomes otherwise inaccessible.
Then the default mail server will take over.


When you enable mail service in the control panel, an MX
record is created automatically in the DNS zone. If mail
service is disabled, this built-in MX record remains in the
DNS zone, and you can remove it manually using the control
panel interface.



If you have selected MX record, the following page appears:






  • Name: your local domain name. If you
    leave the Name field blank, all mail will be
    redirected for the base zone.

  • Data: the priority of the record and mail domain
    name (not the IP) mail will be forwarded to.



IMPORTANT: To add an MX record for the base domain, leave
the Name field empty.


 


Adding Custom CNAME Records


Finally, CNAME records are used to map aliases with domain names.


If you have selected CNAME record, the following page appears:






  • Name: The alias you give to the real host name.

  • TTL: set how many seconds will elapse before the
    record is refreshed in the DNS cache.

  • Data: The real name of the host you create an alias to. This must be
    an official host name. It cannot be an alias. A CNAME-record
    should always point to an A-record to avoid circular references.


WARNING: Please pay attention to $ORIGIN when you
add a CNAME record.




Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields