Bind centos config help
Running VPS with Centos 6.4, installed BIND
I can access the website/server with the ip address. The domain name is not working, would like to resolve this. What I currently have: nslookup results IP: Code:
nslookup 1xx.2xx.2xx.1xx Code:
nslookup www.mydomain.com Code:
options { Code:
$ttl 38400 Code:
nameserver 8.8.8.8 |
Quote:
Code:
host -t ns mydomain.com The standard convention is to use the date of update YYYYMMDDnn, where nn is a revision number in case more than one updates are done in a day. So if the first update done today would be 2005301200 and second update would be 2005301201. DNS does not care if you are running CentOS or ToasterOS, so read it carefully and learn the concepts. :) Does this output show your host's IP? Code:
host -t ns mydomain.com | while read dom ns server; do dig +short $dom; done Assuming the Bind host and the domain are on the same host. https://help.ubuntu.com/12.04/serverguide/dns.html http://www.debianhelp.co.uk/dnsrecords.htm Please let us know... |
Code:
host -t ns mydomain.com Host mydomain.com not found: 2(SERVFAIL) 1375467856 was from the hosts file, when I installed centos 5.8 with virtual/webmin on the vps. When I go through the virtualmin and add a virtual server it sets up the dns and it works then. So I copied a few files so I can compare and have a working example to go off of. The Nameserver IP at the Registrar is pointed at the IP of my Bind host. |
See if the inlines below can help you.
Quote:
Quote:
Quote:
|
Try this and let us know the output.
Code:
dig +short domain.com @your_bind_host_ip Nameservers pointed at your bind host is a great start! |
I have it working now.
named.conf I changed to this Code:
options { Code:
nameserver 8.8.8.8 Code:
; This file holds the information on root name servers needed to |
All times are GMT -5. The time now is 05:36 PM. |