<div dir="ltr"><a href="http://linuxconfig.org/linux-dns-server-bind-configuration">http://linuxconfig.org/linux-dns-server-bind-configuration</a><br><div><br></div><div>In /etc/resolv.conf they're separate lines.</div><div><br></div><div>nameserver <a href="http://ns1.example.com">ns1.example.com</a></div><div>nameserver <a href="http://ns2.example.com">ns2.example.com</a></div><div><br></div><div>When you can run dig @<a href="http://8.8.8.8">8.8.8.8</a> <a href="http://www.yourdomain.com">www.yourdomain.com</a> and see what you want to see, your DNS is working.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 9, 2014 at 9:46 PM, Keith Smith <span dir="ltr"><<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You say Add nameserver(s) to your resolv.conf meaning ns1.domain.tld ns2.domain.tld - one line?<br>
<br>
<br>
Looks like the custom name servers are configured correctly and set at my host.<br>
<br>
nslookup says:<br>
<br>
Server: 127.0.1.1<br>
Address: 127.0.1.1#53<br>
<br>
Non-authoritative answer:<br>
*** Can't find www.domain.tld: No answer<br>
<br>
---<br>
nmap using domain:<br>
<br>
sudo nmap -sT -O www.domain.tld<br>
<br>
Starting Nmap 6.40 ( <a href="http://nmap.org" target="_blank">http://nmap.org</a> ) at 2014-12-09 22:29 MST<br>
Failed to resolve "www.domain.tld".<br>
WARNING: No targets were specified, so 0 hosts scanned.<br>
Nmap done: 0 IP addresses (0 hosts up) scanned in 20.31 seconds<br>
<br>
---<br>
<br>
try with IP:<br>
<br>
keith@host-name:~ > sudo nmap -sT -O xx.xx.xx.xx<br>
<br>
Starting Nmap 6.40 ( <a href="http://nmap.org" target="_blank">http://nmap.org</a> ) at 2014-12-09 2:30 MST<br>
Nmap scan report for host.domain.tld (xx.xx.xx.xx)<br>
Host is up (0.0063s latency).<br>
Not shown: 997 closed ports<br>
PORT STATE SERVICE<br>
80/tcp open http<br>
139/tcp open netbios-ssn<br>
445/tcp open microsoft-ds<br>
No exact OS matches for host (If you know what OS is running on it, see <a href="http://nmap.org/submit/" target="_blank">http://nmap.org/submit/</a> ).<br>
TCP/IP fingerprint:<br>
<br>
---<br>
<br>
I configured nat for 80 - which works by IP, and port 53.<br>
<br>
I verified my router has NAT for port 53 enabled.<br>
<br>
Any suggestions?<span class=""><br>
<br>
Thank you for your help!!<br>
<br>
<br>
<br>
<br></span><div><div class="h5">
On 2014-12-09 21:48, Jon Ernster wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
You need to change the nameserver(s) of the domain at (insert domain<br>
registrar here) to point to the nameserver(s) of your BIND setup.<br>
nslookup will return the correct IP address from your BIND machine<br>
if you added the /etc/hosts line. May need to open up port TCUP/UDP<br>
53 for the external IP address if you have a router. Add<br>
nameserver(s) to your resolv.conf<br>
<br>
On Tue, Dec 9, 2014 at 6:59 PM, Keith Smith<br>
<<a href="mailto:techlists@phpcoderusa.com" target="_blank">techlists@phpcoderusa.com</a>> wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
Note I have a Cox business account that allows me to run a server<br>
and I have a private IP.<br>
<br>
Installed Bind, setup zones... ect. When I go to the site using<br>
the domain, it says server not found. If I enter the IP given me<br>
by Cox into the browser I see the home page. nslookup returns the<br>
proper IP and the FQDN - I'm guessing that means Bind is configured<br>
correctly?<br>
<br>
I added a line "xx.xx.xx.xx donain.tld" to the /etc/hosts file. <br>
I used the IP given me by Cox. Is that correct?<br>
<br>
I added a line "search domain.tld" to /etc/resolv.conf . Is this<br>
correct?<br>
<br>
Anything else I should be checking?<br>
<br>
Thank you for your help!!<br>
<br>
--<br>
Keith Smith<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
</div></div><a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a> [1]<br>
</blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1] <a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><span class=""><br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</span></blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Keith Smith<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a></div></div></blockquote></div><br></div>