please keep list discussions on the list... there is one answer inline below...


On 05/11/2018 12:03 PM, Pan, Peter wrote:
Thank you for your answer wkitty42
/
why are you trying to assign these addresses to your dnsmasq? from your hosts file, they appear to belong to other systems... //
////
//unless i'm mistaken, this line is the list of addresses on this box that will listen for connections... in other words, addresses belonging to this box...

/As far as I understand, I have to delete the IP from dnsmasq.conf
So the right configuration is:

list-address=127.0.0.1
resolv-file:/srv/dns/nameserver.conf

... because all other addresses belong to other systems. But my aim is, to set dnsmasq as DNS-Server in my homenetwork, to sum up, another computers shall use this DNS-Server too, and if i'm not mistaken, dnsmasq must listen for connection to this ip-adresses for the other computers too. As example: The DNS-Server of the E2-PC computer is 192.168.178.3, the RASPBERRY-PI-SERVER with dnsmasq.

/to explain the line further, if you have five addresses on this box, you can limit it responding to only three of those addresses if you want... //
////
//what is the local 192.168.178 address for this box? that is the address you would list along with localhost... /

Which box do you mean?


the box where you are running dnsmasq...


The local address of the fritzbox, the router (at the time the DNS-Server), which is connected with the RASBPERRY-PI, is 192.168.178.1 If I am thinking right, I have to set the IP of the fritzbox along or with localhost.

127.0.0.1        localhost
192.168.178.1    fritz.box
127.0.1.1        RASBPERRY-PI-SERVER

Thank you :)




Am 11.05.2018 um 16:50 schrieb wkitt...@gmail.com:
On 05/11/2018 07:08 AM, Pan, Peter wrote:
failed to create listening socket for 192.168.178.15 Cannot assign requested address
FAILED to start up
Failed to start dnsmasq - A lightweight DHCP and caching DNS server

My dnsmasq.conf:

listen-address=127.0.0.1,192.168.178.10,192.168.178.12,192.168.178.15

why are you trying to assign these addresses to your dnsmasq? from your hosts file, they appear to belong to other systems...

unless i'm mistaken, this line is the list of addresses on this box that will listen for connections... in other words, addresses belonging to this box...

to explain the line further, if you have five addresses on this box, you can limit it responding to only three of those addresses if you want...

what is the local 192.168.178 address for this box? that is the address you would list along with localhost...

[...]
My hosts file:

127.0.0.1       localhost
127.0.1.1       RASPBERRY-PI-SERVER

192.168.178.1   fritz.box.luna.lan fritz.box               ## Router FRITZ!Box 7430
192.168.178.10  e1-pc.luna.lan e1-pc                   ## Laptop E1-PC
192.168.178.12  e2-pc.luna.lan e2-pc                   ## Laptop E2-PC
192.168.178.15  erik-galaxay-a5-2017.luna.lan erik-galaxy-a5-2017     ## Smartphone Erik





--
 NOTE: No off-list assistance is given without prior approval.
       *Please keep mailing list traffic on the list unless*
       *a signed and pre-paid contract is in effect with us.*

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to