Hello friends,
first i apologise if this post isn't in correct category. I use i-mscp 1.3.16 version and personal dns server. I created a ns1.mydomain.com and ns2.mydomain.com with same ip. When i try to change nameservers for my domain in domain control manager and enter ns1.mydomain.com, ns2.mydomain.com show me this error: ns1.mydomain.com it's not configured please enter ipv4 or ipv6 address, ns2.mydomain.com it's not configured please enter ipv4 or ipv6 address. When i enter a ip address under ns1,ns2 after 2 hours mydomain.com it works with my server. That's good, but i want to configure nameservers, to find automatically ip address for nameserver. All day i read about this, and finally found the problem comes from glue. I try to fix this all day, but i did not succeed. Parent servers glue it's ok, i have problem with glue at local nameservers.
viewdns.xx info:
Local Nameserver Tests
- NS records at your local servers:NS records retrieved from your local nameservers were:ns1.mydomain.com. [NO GLUE] [TTL=3600]ns2.mydomain.com. [NO GLUE] [TTL=3600]Glue at local nameservers:Oops! Your local nameservers don't return IP addresses (glue) along with your NS records! This isn't a fatal error but means an extra lookup needs to be performed increasing the load time to your site. You can fix this by adding A records for each of the nameservers listed above.
/etc/imscp/bind/working/mydomain.com.db
- $TTL 3600
- $ORIGIN mydomain.com.
- mydomain.com. IN SOA ns1.mydomain.com. hostmaster.mydomain.com. (
- 2017031106; Serial
- 3600; Refresh
- 600; Retry
- 604800; Expire
- 60; Minimum TTL
- )
- mydomain.com. IN NS ns1.mydomain.com.
- mydomain.com. IN NS ns2.mydomain.com.
- mydomain.com. IN A 0.0.0.0
- ns1.mydomain.com. IN A 0.0.0.0
- ns2.mydomain.com. IN A 0.0.0.0
- www.mydomain.com. IN CNAME mydomain.com.
- ftp.mydomain.com. IN A 0.0.0.0
- mydomain.com. IN MX 10 mail
- mail.mydomain.com. IN A 0.0.0.0
- imap.mydomain.com. IN A 0.0.0.0
- pop.mydomain.com. IN A 0.0.0.0
- pop3.mydomain.com. IN A 0.0.0.0
- relay.mydomain.com. IN A 0.0.0.0
- smart.mydomain.com. IN A 0.0.0.0
- smtp.mydomain.com. IN A 0.0.0.0
- ; sub [{SUBDOMAIN_NAME}] entry BEGIN
- ; sub [{SUBDOMAIN_NAME}] entry ENDING
- $ORIGIN mydomain.com.
- ; custom DNS entries BEGIN
- mail._domainkey 60 IN TXT "v=DKIM1; k=rsa; s=email; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCyHt7XvbGJuP5xvoTCn4qai4p798KY+yrhmgNRO1fv6UDTRZ8AEX6BMk992DRoHWyo6nTAlYcygFlLWZuhJ8kHhb6zX/2zO2PYB1p8tUIjEH25xgZJ15HpTseEskoFW8ABQEancsrm6vk++5q7gmOVN7JJREcA3wirOK/7g4E7VwIDAQAB"
- mydomain.com. 3600 IN TXT "v=spf1 a mx ip4: 0.0.0.0 ~all"
- _dmarc.mydomain.com. 3600 IN TXT "v=DMARC1; p=none; rua=mailto:postmaster@mydomain.com"
- ; custom DNS entries ENDING
- ; ctm als entries BEGIN
- ; ctm als entries ENDING
Somebody with same problem to share how to fix that? Thank you!