[Dnsmasq-discuss] dnsmasq + extending dns servers

ramakanth varala ramakanth.varala at gmail.com
Fri May 13 11:48:43 BST 2011


Another point i want to add here is if i add dhcp-option as a command
it works fine but not with dnsmasq.conf file .

Iam ensuring that it re read the file when i add dhcp-option by giving
signal sighup.

any of your comments would be highly usefull.

On Fri, May 13, 2011 at 12:56 PM, ramakanth varala
<ramakanth.varala at gmail.com> wrote:
> Hi Edson,
>
> Thank you very much.
>
> Iam using following file
>
> # cat /var/etc/dnsmasq.conf
> strict-order
> localise-queries
> bogus-priv
> domain-needed
> expand-hosts
> resolv-file=/var/etc/resolv.conf
> dhcp-leasefile=/var/etc/dnsmasq.leases
> dhcp-lease-max=253
> dhcp-authoritative
> domain=home
> dhcp-vendorclass=CLASS0,IP-STB
> dhcp-range=net:CLASS0,192.168.1.100,192.168.1.150,86400
> dhcp-range=Private_LAN,192.168.1.2,192.168.1.254,86400,provide_hostname
> dhcp-range=Private_LAN2,192.168.5.2,192.168.5.254,86400,provide_hostname
> dhcp-range=Private_LAN3,192.168.6.2,192.168.6.254,86400,provide_hostname
> dhcp-range=Private_LAN4,192.168.7.2,192.168.7.254,86400,provide_hostname
> dhcp-option=VersaPort,6,10.200.1.10,10.16.16.8
>
>
> On LAN Side when i capture the bootp packets in DHCP offer i seen in
> option  6 the g/w address as DNS Server
> not the 10.200.1.10 / 10.10.16.16.8 .
>
> Even i tried removeing the versaport string ( like
> dhcp-option=6,10.200.1.10, 10.16.16.8) still no difference.
>
> Can any body let me know where am i missing .
>
> Thanks
>
> On Thu, May 12, 2011 at 5:53 PM, Edson - Lists <4lists at gmail.com> wrote:
>> Just play with DHCP options
>> (http://www.networksorcery.com/enp/protocol/bootp/options.htm) and You will
>> be done.... Code 6 is what You want...
>>
>> But keep in mind that then, to Your DHCP-clients, DNSMasq will be only a
>> DHCP-server.... ;)
>>
>> Edson.
>>
>> Em 12/05/2011 08:35, ramakanth varala escreveu:
>>>
>>> hello all,
>>>
>>> Iam searching for a facility where i can extend the dns servers to my
>>> dhcp clients.
>>>
>>> To elaborate here , If i configure 10.200.2.1 and 10.200.2.2 as my dns
>>> servers .
>>>
>>> Using dnsmasq i want to send these dns servers to client / dhcp
>>> machines , where on ipconfig they should see these dns servers . ( no
>>> the g/w address where dns masq is running.)
>>>
>>> I donot know whether this facility is there with dnsmasq or not.
>>>
>>> Your inputs would be highly appreciated.
>>>
>>> regards
>>>
>>> _______________________________________________
>>> Dnsmasq-discuss mailing list
>>> Dnsmasq-discuss at lists.thekelleys.org.uk
>>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>>
>>
>



More information about the Dnsmasq-discuss mailing list