I have a domain name
mydomain.net purchased/registered for one of the cloud server(ubuntu) and its pointing to the server(nslookup). I have installed DNS(bind) service with the domain
mydomain.net. Now I'm trying to add some host records for other cloud servers(all has static public ip) so that I can access them globally anywhere with the name assigned as host records in the DNS.
I added some hosts(I use webmin to manage DNS) for name and ip resolution but I could not resolve their names.
Many times I installed & configured local dns servers with no publicly registered domain names. But I didn't not understand what the concept behind running DNS for global name resolution. Anybody could tell me here if it's actually possible.
I already added the name server like
my-dns-hostname-here.mydomain.net for my DNS ip 204.x.x.x and also the host record like the one below for my DNS ip 204.x.x.x
when I did nslookup of above host records, it didn't resolve them
As a procedure I'll be adding
domain mydomain.com &
nameserver dns-ip-here entries in /etc/resolv.conf while doing local dns server but in the cloud dns server I didn't but the ISP's dns server ips. If I have to change it then probably I may have to restart the cloud server which I couldn't do it as it is one of the production server.
dig mydomain.net: I've edited to avoid security issue
; <<>> DiG 9.7.0-P1 <<>> mydomain.net ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42599 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;mydomain.net. IN A ;; ANSWER SECTION: mydomain.net. 1000 IN A 204.x.x.x ;; AUTHORITY SECTION: mydomain.net. 3600 IN NS dns1.stabletransit.com. mydomain.net. 3600 IN NS dns2.stabletransit.com. ;; Query time: 239 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Wed May 4 14:29:00 2011 ;; MSG SIZE rcvd: 104