1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Nameserver setup

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by carpman, Jul 31, 2009.

  1. carpman

    carpman Guest

    0
     
    Hello, despite doing a search and reading the many post on setting up nameservers i am still a little lost!

    So i have done/got

    servers>dns>DNS zone template

    Code:
    <domain>.	A	<ip>
    	<domain>.	MX (10)	mail.<domain>.
    	<domain>.	TXT	v=spf1 +a +mx -all
    	<ip> / 24	PTR	<domain>.
    	ftp.<domain>.	CNAME	<domain>.
    	mail.<domain>.	A	<ip>
    	mydomain.net.<domain>.	NS	ns1.mydomain.net.
    	mydomain.net.<domain>.	NS	ns2.mydomain.net.
    	webmail.<domain>.	A	<ip>
    [/code
    
    I have also created the domain mydomain.net
    
    This server is not going to be used to sell any hosting just used for my own domains.
    
    In registrar i have set the name servers for this domain to:
    [code]
    ns1.mydomain.net.
    ns2.mydomain.net.
    and entered the two IP that are used by server, the mydomain.net was not created on shared IP but on its own IP, the primary IP for server.

    Now when i go to

    Home>Domains>mydomain.net>DNS

    i see

    Code:
    *.webmail.mydomain.net.	CNAME	mydomain.net.
    	90.192.195.442 / 24	PTR	mydomain.net.
    	ftp.mydomain.net.	CNAME	mydomain.net.
    	mail.mydomain.net.	A	90.192.195.442
    	mydomain.net.	A	90.192.195.442
    	mydomain.net.	MX (10)	mail.smaartpublishing.net.
    	mydomain.net.	TXT	v=spf1 +a +mx -all
    	mydomain.net.mydomain.net.	NS	ns1.mydomain.net.
    	mydomain.net.mydomain.net.	NS	ns2.mydomain.net.
    	webmail.mydomain.net.	A	90.192.195.442
    	www.mydomain.net.	CNAME	mydomain.net.
    


    Now i believe that somewhere i need to setup ns1/ns2.mydomain.net with IP address but not sure where?

    any ideas?

    cheers
     
  2. Michael neese

    Michael neese Guest

    0
     
    Try just before webmail.<domain>.A <ip> in the zone template

    ns.<domain>.A <ip>
     
  3. carpman

    carpman Guest

    0
     
    Hello, ok still no go, though did have an issue where the server provider had given incorrect and already allocated second IP. That is now sorted but still can't get server wide name servers working or access default domain.

    dsn from server dns settings
    Code:
    	<domain>.	A	<ip>
    	<domain>.	MX (10)	mail.<domain>.
    	<domain>.	TXT	v=spf1 +a +mx -all
    	<ip> / 24	PTR	<domain>.
    	ftp.<domain>.	CNAME	<domain>.
    	mail.<domain>.	A	<ip>
    	ns1.mydomain.net.<domain>.	A	91.192.195.100
    	ns2.mydomain.net.<domain>.	A	91.192.195.101
    	mydomain.net.<domain>.	NS	ns1.mydomain.net.
    	mydomain.net.<domain>.	NS	ns2.mydomain.net.
    	webmail.<domain>.	A	<ip>
    

    dns from the one domain (default) current on server
    Code:
    *.webmail.domain.net.	CNAME	mydomain.net.
    	91.192.195.100 / 24	PTR	mydomain.net.
    	ftp.mydomain.net.	CNAME	mydomain.net.
    	mail.mydomain.net.	A	91.192.195.100
    	mydomain.net.	A	91.192.195.100
    	mydomain.net.	MX (10)	mail.mydomain.net.
    	mydomain.net.	TXT	v=spf1 +a +mx -all
    	mydomain.net.mydomain.net.	NS	ns1.mydomain.net.
    	mydomain.net.mydomain.net.	NS	ns2.mydomain.net.
    	webmail.mydomain.net.	A	91.192.195.100
    	www.mydomain.net.	CNAME	mydomain.net.
    
    dns report show name server IP address is correct.
    Code:
    Domain NS records  	Nameserver records returned by the parent servers are:
    
    ns1.mydomain.net.   ['91.192.195.100']   [TTL=172800]
    ns2.mydomain.net.   ['91.192.195.101']   [TTL=172800] 
    



    error from dns report
    Code:
    Mismatched NS records  	WARNING: One or more of your nameservers did not return any of your NS records.
    Error 	DNS servers responded 	ERROR: One or more of your nameservers did not respond:
    The ones that did not responded are:
    91.192.195.100 91.192.195.101
    
    
    Missing nameservers reported by your nameservers  	You should already know that your NS records at your nameservers are missing, so here it is again:
    
    ns1.mydomain.net.
    ns2.mydomain.net. 
    
    note IP and domain details change for post.

    cheers
     
  4. Michael neese

    Michael neese Guest

    0
     
    try this sequence:

    <domain>. A <ip>
    <domain>. MX (10) mail.<domain>.
    <domain>. TXT v=spf1 +a +mx -all
    <ip> / 24 PTR <domain>.
    ftp.<domain>. CNAME <domain>.
    mail.<domain>. A <ip>
    mydomain.net.<domain>. NS ns1.mydomain.net.
    mydomain.net.<domain>. NS ns2.mydomain.net.
    ns1.mydomain.net.<domain>. A 91.192.195.100
    ns2.mydomain.net.<domain>. A 91.192.195.101
    webmail.<domain>. A <ip>
     
  5. carpman

    carpman Guest

    0
     
    No matter what i do i can't change order?
     
  6. 64bithost.com

    64bithost.com Regular Pleskian

    25
    57%
    Joined:
    Jul 30, 2007
    Messages:
    182
    Likes Received:
    0
    Actually you can.

    Go to the store and pick up this book "DNS and BIND" by O'REILLY. Read it carefully. It is rather thick you will need several cups of coffee.

    The ISBN number is ISBN: 1-56592-512-2 \ Cost is $37.95 American for version 3. Get Version 4

    you should be good to go after that
     
Loading...