[Dnsmasq-discuss] Connection: REFUSED when attempting lookup.

Paul Randle paul_randle at scs4it.com
Sat Oct 15 20:39:50 BST 2005


Hi,

 

I'm new to dnsmasq and am in the initial stages of trying to set-up the
following scenario:

 

RH 9 with 2xNIC, 1st IP 10.x.y.212(eth0), 2nd IP 10.x.y.213(eth1)

 

BIND is set-up as a cacheing-only NS bound to 127.0.0.1 only (named.conf has
listen-on {127.0.0.1;}; in the options section) all recursive look-ups are
made through 10.x.y.213

 

Dnsmasq.conf: 

points to dnsmasq.resolv (containing nameserver 127.0.0.1), 

except-interface=lo,

listen-address=10.x.y.212, 

no-dhcp-interface=eth0

bind-interfaces (uncommented).

 

Lookups performed locally on the machine resolve names fine, when I attempt
the same look-ups from a second machine set with the NS to be 10.x.y.212, I
receive the message 'connection: REFUSED'

 

Ps shows both named and dnsmasq started (confirmed in /var/log/messages)

 

Netstat -a shows:

 

Proto    recv-Q   send-Q  local Address                foreign Address
State

 

tcp        0          0          10.x.y.212:domain         *:*
LISTEN

tcp        0          0          localhost:domain            *:*
LISTEN

udp       0          0          10.x.y.212:domain         *:*

udp       0          0          localhost:domain            *:*

 

Would anyone be able to tell me why in this scenario, when it would appear
that dnsmasq is listening correctly, that the connection would be refused?

 

Thanks for your patience, any advice gratefully received.

 

Paul.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20051015/eea6dd7f/attachment.html


More information about the Dnsmasq-discuss mailing list