Hi

Please I need a little help.

This files are the configuration:
/etc/hosts
127.0.0.1       localhost localhost.example.local postgresqldb 
postgresqldb.example.local

dnsmasq.conf
# don't read /etc/resolv.conf
no-resolv
domain=example.local,10.0.0.0/8
domain-needed
server=/example.local/10.1.1.1
server=/example.local/10.1.1.2
server=/10.in-addr.arpa/10.1.1.1
server=/10.in-addr.arpa/10.1.1.2
bogus-priv
# exempt 127.0.0.0/8 from rebinding checks; range used by DBL
rebind-localhost-ok
log-queries
log-facility=/var/log/dnsmasq.log


There are these lines in the log:
Oct 15 12:16:16 dnsmasq[32176]: query[A] localhost.(none).example.local from 
127.0.0.1
Oct 15 12:16:16 dnsmasq[32176]: forwarded localhost.(none).example.local to 
10.1.1.2
Oct 15 12:16:16 dnsmasq[32176]: forwarded localhost.(none).example.local to 
10.1.1.1


Why does dnsmasq forward "localhost" queries to upstream servers?
How can I configure dnsmasq to directly reply to queries to localhost.* ?

Best regards, Massimo Sala



[ATS logo]
Le informazioni contenute in questo messaggio e nei suoi allegati sono ad 
esclusivo beneficio del corretto destinatario e sono da considerarsi 
confidenziali e riservate. Qualora abbiate ricevuto il messaggio per errore, 
siete pregati di darne immediata notizia al mittente e di provvedere alla sua 
cancellazione. La rivelazione del contenuto di corrispondenza destinata ad 
altri e ricevuta per errore è perseguibile penalmente e può costituire un 
trattamento illecito di dati personali.

This e-mail and any attachment is confidential and only for use of the intended 
recipient. If you are not the intended recipient, you are hereby notified that 
any disclosure of this communication is strictly prohibited. If you have 
received this communication in error, please notify the sender, and then delete 
this message from your system.

Prima di stampare, pensa all'ambiente.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to