[My level of knowledge with vps , linux and bind dns settings are at learning/begginer stage]
Added domain/PTR plugservice.com to droplet with ip 139.59.78.183.
Then somehow setup a vanity nameserver named ns1/ns2/ns3.plugservice.com pointing to ns1/ns2/ns3.digitalocean.com. Hope it is working fine.
Afterwards added a user account called michaelco.in through CWP. But domain was not reaching the droplet. So issued #Host michaelco.in and received “Host michaelco.in not found: 2(SERVFAIL)” error.
Can anyone please help me to fix the issue?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
The issue is solved. It was due to missing A records for NS1/NS2/NS3 vanity nameservers in the droplet’s DNS manager.
d) #cat /var/named/michaelco.in.db
; Generated by CWP ; Zone file for michaelco.in $TTL 14400 michaelco.in. 86400 IN SOA ns1.plugservice.com. cwp.plugservice.com. ( 2013071600 ; serial, todays date+todays 86400 ; refresh, seconds 7200 ; retry, seconds 3600000 ; expire, seconds 86400 ) ; minimum, seconds michaelco.in. 86400 IN NS ns1.plugservice.com. michaelco.in. 86400 IN NS ns2.plugservice.com. michaelco.in. IN A 139.59.78.183 localhost.michaelco.in. IN A 127.0.0.1 michaelco.in. IN MX 0 michaelco.in. mail IN CNAME michaelco.in. www IN CNAME michaelco.in. ftp IN CNAME michaelco.in. ; Add additional settings below this line
c) dig @ns1.digitalocean.com michaelco.in
; > DiG 9.9.4-RedHat-9.9.4-51.el7_4.2 > @ns1.digitalocean.com michaelco.in ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 47277 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 512 ;; QUESTION SECTION: ;michaelco.in. IN A ;; Query time: 43 msec ;; SERVER: 173.245.58.51#53(173.245.58.51) ;; WHEN: Thu Feb 01 21:18:28 IST 2018 ;; MSG SIZE rcvd: 41