Changeset 17663


Ignore:
Timestamp:
2009-09-21T15:25:11+02:00 (8 years ago)
Author:
nbd
Message:

Add default /etc/dnsmasq.conf

dnsmasq allows adding of arbitrary SRV/PTR/TXT/CNAME records.
However, those options sometimes can not be passed as
command-line arguments due to excess length. This patch tries to
solve this problem:

  1. Provide /etc/dnsmasq.conf file with comments about adding SRV/PTR/TXT/CNAME records.
  2. Add this file to conffiles list so it is preserver during backup/restore or system upgrade.

If someone needs a lot of custom records, default configuration
file can be edited. Since manual pages and documentation is not
installed, provided comments should be enough to figure out
option syntax.

Signed-off-by: Alexey I. Froloff <raorn@…>

Location:
trunk/package/dnsmasq
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/Makefile

    r16436 r17663  
    3131define Package/dnsmasq/conffiles 
    3232/etc/config/dhcp 
     33/etc/dnsmasq.conf 
    3334endef 
    3435 
     
    4748        $(INSTALL_DIR) $(1)/etc/config 
    4849        $(INSTALL_DATA) ./files/dhcp.conf $(1)/etc/config/dhcp 
     50        $(INSTALL_DATA) ./files/dnsmasq.conf $(1)/etc/dnsmasq.conf 
    4951        $(INSTALL_DIR) $(1)/etc/init.d 
    5052        $(INSTALL_BIN) ./files/dnsmasq.init $(1)/etc/init.d/dnsmasq 
Note: See TracChangeset for help on using the changeset viewer.