View Single Post
  #4   (View Single Post)  
Old 18th May 2015
rtwingfield rtwingfield is offline
Real Name: Ron Wingfield
Port Guard
 
Join Date: Oct 2008
Location: Little Rock, AR USA
Posts: 36
Default No Route to Host

I can ping the 192.168.1.1 address and I can also connect sftp via the address, but not the domain name. The latter attempt results with "ssh: connect to host archaxis.net port 22: No route to host . . .Connection closed".

I can also ping Google's public DNS servers, 8.8.8.8 and 8.8.4.4. Also other of my servers across town. Problem is . . .I cannot ping any of my locally hosted domains served by another Apache HTTP server on the LAN at the 192.168.1.74 address, although I can ping that server address. If I try to ping any of the domains (by name), then the system complains, "ping: sendto: No route to host".

Given this "no route" scenario,
Code:
# nslookup archaxis.net
reveals
Server: 127.0.0.1
Address: 127.0.0.1#53
. . .etc.
printsection()
Name: archaxis.net
Address: 66.138.104.73


Additionally,
Code:
# dig archaxis.net
reveals the following:
; <<>> DiG 9.10.2 <<>> archaxis.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28181
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
. . .etc.
;; ANSWER SECTION:
archaxis.net. 10800 IN A 66.138.104.73

. . .and
Code:
# route get archaxis.net
route to: localhost
destination: adsl-66-138-104-72.dsl.ltrkar.swbell.net
mask: 255.255.255.248
fib: 0
interface: dc0
flags: <UP,DONE,PINNED>
recvpipe sendpipe ssthresh rtt,msec mtu weight expire
0 0 0 0 1500 1 0​
If I understand the functionality of these network utilities, it appears that they find routes to the hosts.

Soooo, why can't ping, sendmail, et al., find a route to the host? I've revisited all of my zone files, double checked /etc/host, etc/hosts.conf, resolv.conf, etc. I'm at a loss . . .there must be something I'm missing in this BIND 9 configuration . . .perhaps different from '8 that I'm not seeing. Where should I look?

I've had BIND 8+ running successfully for years. What do I need to add or change to enable BIND 9.10.2 to resolve these domains?
Reply With Quote