LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   a quick question regarding DNS (https://www.linuxquestions.org/questions/linux-general-1/a-quick-question-regarding-dns-35586/)

sfahey 11-16-2002 05:02 AM

a quick question regarding DNS
 
Hi group, I have a quick question regarding DNS. My FQDN is veracruz.paunchy.net I can sit a my windows box type any one of my domains and sure enough the site comes-up ! but, nslookup is failing, which is a bit irritating when certain things I’m doing rely on nslookup

I have enclosed my main paunchy.net zone file and the error message which is continually appearing



@ IN SOA ns.paunchy.net. hostmaster.paunchy.net. (
2002101801 ; Serial
7200 ; Refresh - 2 hours
3600 ; Retry - 1 hour
604800 ; Expire - 12 hours
3600 ) ; Minimum - 1 hour

NS ns

IN NS ns.paunchy.net.

IN A 192.168.0.1

IN MX 10 mail.paunchy.net.


Error log:


Nov 15 15:35:20 veracruz named[430]: sysquery: findns error (NXDOMAIN) on ns.paunchy.net?

Hope somebody can help

Thanks

shaun

sfahey 11-16-2002 05:23 AM

nslookup error

veracruz:~ # nslookup paunchy.net
*** Can't find server name for address 192.168.0.1: Non-existent host/domain
*** Default servers are not available

sfahey 11-16-2002 08:03 AM

Just to let you all know, I have made a posting on linuxnewbie.org regarding the same posting. I was asked if I had a ‘reverse zone’ ECT. The answer is ‘yes’ I have a fully working DNS.

i have had it working b4, i lost all my zones when i done a rebuild, i cant remember what the main zone was

regarding my error

(NXDOMAIN) = a "Name Error"

Name errors (NXDOMAIN) are indicated by the presence of "Name Error" in the RCODE field. In this case the domain referred to by the QNAME does not exist

not sure about this ? its correct, but, as 2 what i add to paunchy.zone, god knows

sfahey 11-16-2002 08:27 AM

fairly new 2 this dns stuff, have got a shed load of books, at first glance I’ve done it right, I guess it must be mostly right because I can sit at my windows box and browse all 12 IP based virtual domains. Buy there name i.e. http://paunchy.net and http://sfahey.com ect..ect…

on that note ! when I do an nslookup from windows with the ‘cyber kit’ app I get a result
-------------------------------------------------------------------------

Saturday, November 16, 2002 02:13:48PM
name based v-host sfahey.com
Name Server LookUp for sfahey.com
Local Hostname: veracruz.paunchy.net
Local IP Address: 192.168.0.11
Local IP Address: 213.122.254.96 # I’m on-line right now !!
Hostname: sfahey.com
IP Address: 192.168.0.1

------------------------------------------------------------------------------------
Saturday, November 16, 2002 02:15:47PM
IP based v-host
Name Server LookUp for iws.net
Local Hostname: veracruz.paunchy.net
Local IP Address: 192.168.0.11 # my windows box
Local IP Address: 213.122.254.96 # I’m on-line right now !!
Hostname: iws.net
IP Address: 192.168.0.42

-------------------------------------------------------------------------------
Nslookup from linux

veracruz:~ # nslookup on any domain I have
*** Can't find server name for address 192.168.0.1: Non-existent host/domain
*** Default servers are not available


hum ! I here you say !


shaun

sbrown 11-20-2002 01:52 AM

have you checked that the name server addresses are listed as nameservers and that paunchy.net is listed as a search domain in /etc/reslov.conf


All times are GMT -5. The time now is 06:27 AM.