Openstack instance dns issue
Hello,
I am having some issues with DNS.
I am using OpenStack Stein. I launched two instances and installed Plesk on one instance and Virtualmin on another instance. The problem is I cannot able to ping or dig the nameservers of each instance domain from outside. The IP address is unable to resolve the name. But if I dig from Virtualmin to Plesk domain nameserver than I get a response with IPs and nameserver but if I do the same thing from outside(from my home computer) I cannot able to get an IP address
This is from my computer:
; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 37104
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;[domain]. IN A
;; Query time: 247 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Sat Oct 12 00:48:22 IST 2019
;; MSG SIZE rcvd: 44
and this is from Virtualmin instance to Plesk domain nameserver
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-9.P2.el7 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23223
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;[domain] IN A
;; ANSWER SECTION:
[domain]. 3600 IN A [IP]
;; AUTHORITY SECTION:
[domain]. 143111 IN NS ns1.[domain].
[domain]. 143111 IN NS ns2.[domain].
;; ADDITIONAL SECTION:
ns2.[domain]. 143111 IN A [IP]
ns1.[domain]. 143111 IN A [IP]
;; Query time: 14 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Oct 11 18:25:18 UTC 2019
;; MSG SIZE rcvd: 128
In Plesk instance, named-chroot.service is active and running.
In Virtualmin instance, named.service is active and running.
Please help me with it.
Thank you so much in advance.