Modify

Opened 3 years ago

Last modified 3 years ago

#19422 new enhancement

Add support for additional dnsmasq options

Reported by: shonjir Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: dnsmasq Cc:

Description

Add initscript support for dnsmasq options (supported in 2.72).

--dhcp-client-update
--ptr-record=name,target
--txt-record=name,text

Man page here: http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

Sample configuration:

config dnsmasq
  option dhcpclientupdate '1'

config txtrecord
  option name 'example.com'
  option text '"v=spf1 a -all"'

config ptrrecord
  option name '_http._tcp.example.com'
  option target 'name=value,paper=A4'

Patch is attached.

Attachments (1)

dnsmasq.init.patch (1.4 KB) - added by shonjir 3 years ago.
patch for /etc/init.d/dnsmasq

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by shonjir

patch for /etc/init.d/dnsmasq

comment:1 Changed 3 years ago by shonjir

Updated patch to add related TXT and PTR records for SRV records

config srvhost
  option srv 'server._device-info._tcp.example.com'
  option target 'server.example.com'
  option port '0'
  option text 'model=Xserve'
  option ptr '_device-info._tcp.example.com'

comment:2 Changed 3 years ago by anonymous

Please check https://dev.openwrt.org/wiki/SubmittingPatches

Look in the Makefile if a MAINTAINER macro exists. If so, e-mail that person. Unless you have a reason NOT to do so, always CC openwrt-devel <at> lists.openwrt.org. If no maintainer is listed, send your patch to the ​primary OpenWrt developer's mailing list. Most OpenWrt developers monitor this e-mail list, and can comment on your changes.

comment:3 Changed 3 years ago by anonymous

These seem to be useful features (dhcpclientupdate when integrating dnsmasq in a MS AD environment)

Please submit to the openwrt-devel mailing list.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.