Did you create a zone entry in named.conf and the associated zone file?<br><br>zone "<a href="http://example.ca">example.ca</a>" { <br> type master;<br> file "example.ca.db";<br>};<br><br>example.ca.db:<br>
IN A 192.168.1.1<br><br>When you restart named, always look in the logs (/var/log/messages on most systems) to see if any zones got turfed. If you make a mistake, named will not load the zone, but will happily continue on with the next zone.<br>
<br>Does your forwarder work? eg can you nslookup <a href="http://cisco.com">cisco.com</a> @localhost ? Is named bound to all the interfaces?<br><br>BTW, if you're just trying to get <a href="http://example.ca">example.ca</a> working for development, the fastest way is to edit your hosts file(s) and skip DNS entirely. DNS takes a few "oops" moments to understand, and is often best skipped if possible.<br>
<br>Sean<br><br><br><br><div class="gmail_quote">On Mon, May 31, 2010 at 5:49 PM, Robert Dyck <span dir="ltr"><<a href="mailto:rbdyck2@shaw.ca">rbdyck2@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Could I ask for help configuring DNS?<br>
<br>
I am trying to setup an webserver using Ubuntu 9.10 Server, Karmic Koala. I<br>
have it setup in my home office behind a D-Link router. I installed DNS<br>
server, LAMP, email server, and Tomcat. To get familiar with configuring<br>
DNS, I attempted to simply setup a DNS as both a caching server and create a<br>
master entry to point to a website on itself. I called the website<br>
"<a href="http://example.ca" target="_blank">example.ca</a>". The D-Link router acts as a firewall so it shouldn't<br>
propagate. But it isn't working, when I use "nslookup <a href="http://example.ca" target="_blank">example.ca</a>" the<br>
response is "*** Can't find <a href="http://example.ca" target="_blank">example.ca</a>: No answer". When I try "ping<br>
<a href="http://example.ca" target="_blank">example.ca</a>" the response is "unknown host <a href="http://example.ca" target="_blank">example.ca</a>". What did I do wrong?<br>
I changed "/etc/resolv.conf" to have the IP address of my server instead of<br>
the router or my ISP, although the domain and search are still my ISP. I<br>
ensured the "forwarders" address in "named.conf.options" is my router. I did<br>
restart the DNS service after each change. Bit it still isn't working; I can<br>
lookup any address from the internet but my own server does not resolve. I<br>
followed these instructions:<br>
<br>
<a href="https://help.ubuntu.com/10.04/serverguide/C/dns-configuration.html" target="_blank">https://help.ubuntu.com/10.04/serverguide/C/dns-configuration.html</a><br>
<br>
<a href="http://ulyssesonline.com/2007/11/07/how-to-setup-a-dns-server-in-ubuntu/" target="_blank">http://ulyssesonline.com/2007/11/07/how-to-setup-a-dns-server-in-ubuntu/</a><br>
<br>
Thanks,<br>
Rob Dyck<br>
<br>
<br>
<br>
_______________________________________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/listinfo/roundtable</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sean Walberg <<a href="mailto:sean@ertw.com">sean@ertw.com</a>> <a href="http://ertw.com/">http://ertw.com/</a><br>