{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/packages/issues/1649","labels_url":"https://api.github.com/repos/openwrt/packages/issues/1649/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/packages/issues/1649/comments","events_url":"https://api.github.com/repos/openwrt/packages/issues/1649/events","html_url":"https://github.com/openwrt/packages/issues/1649","id":100229566,"number":1649,"title":"dnsmasq config options are ignored","user":{"login":"alexlist","id":626231,"avatar_url":"https://avatars.githubusercontent.com/u/626231?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlist","html_url":"https://github.com/alexlist","followers_url":"https://api.github.com/users/alexlist/followers","following_url":"https://api.github.com/users/alexlist/following{/other_user}","gists_url":"https://api.github.com/users/alexlist/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlist/subscriptions","organizations_url":"https://api.github.com/users/alexlist/orgs","repos_url":"https://api.github.com/users/alexlist/repos","events_url":"https://api.github.com/users/alexlist/events{/privacy}","received_events_url":"https://api.github.com/users/alexlist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T05:31:37Z","updated_at":"2015-08-12T08:39:54Z","closed_at":"2015-08-11T08:14:22Z","body":"The documentation makes certain claims regarding configuration of dnsmasq:\r\n\r\nhttp://wiki.openwrt.org/doc/uci/dhcp\r\n\r\nTrying to specify a nameserver for a particular domain like this:\r\n`option server '/example.com/192.0.2.1'`\r\n\r\nis not reflected in the generated config in ```/var/etc/dnsmasq.conf```\r\n\r\nI found that the relevant snippet is missing from ```/etc/init.d/dnsmasq```\r\n\r\nThis change will at least fix this for the ```server``` option, however I suggest to go over the books and verify that everything that's mentioned in the documentation is respected.\r\n\r\n```\r\n--- dnsmasq\t2015-08-11 05:15:43.000000000 +0000\r\n+++ dnsmasq.opkg\t2015-08-11 05:14:57.000000000 +0000\r\n@@ -145,7 +145,6 @@\r\n \tappend_parm \"$cfg\" \"queryport\" \"--query-port\"\r\n \tappend_parm \"$cfg\" \"domain\" \"--domain\"\r\n \tappend_parm \"$cfg\" \"local\" \"--server\"\r\n-\tappend_parm \"$cfg\" \"server\" \"--server\"\r\n \tconfig_list_foreach \"$cfg\" \"server\" append_server\r\n \tconfig_list_foreach \"$cfg\" \"address\" append_address\r\n \tconfig_list_foreach \"$cfg\" \"ipset\" append_ipset\r\n```\r\n\r\nEncountered on TP-Link Archer C7 v2 using the stock dnsmasq (not dnsmasq-full!)\r\n\r\n```\r\n# cat /etc/openwrt_release \r\nDISTRIB_ID='OpenWrt'\r\nDISTRIB_RELEASE='15.05-rc3'\r\nDISTRIB_REVISION='r46163'\r\nDISTRIB_CODENAME='chaos_calmer'\r\nDISTRIB_TARGET='ar71xx/generic'\r\nDISTRIB_DESCRIPTION='OpenWrt Chaos Calmer 15.05-rc3'\r\nDISTRIB_TAINTS=''\r\n```"},"comment":{"url":"https://api.github.com/repos/openwrt/packages/issues/comments/130218183","html_url":"https://github.com/openwrt/packages/issues/1649#issuecomment-130218183","issue_url":"https://api.github.com/repos/openwrt/packages/issues/1649","id":130218183,"user":{"login":"alexlist","id":626231,"avatar_url":"https://avatars.githubusercontent.com/u/626231?v=3","gravatar_id":"","url":"https://api.github.com/users/alexlist","html_url":"https://github.com/alexlist","followers_url":"https://api.github.com/users/alexlist/followers","following_url":"https://api.github.com/users/alexlist/following{/other_user}","gists_url":"https://api.github.com/users/alexlist/gists{/gist_id}","starred_url":"https://api.github.com/users/alexlist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexlist/subscriptions","organizations_url":"https://api.github.com/users/alexlist/orgs","repos_url":"https://api.github.com/users/alexlist/repos","events_url":"https://api.github.com/users/alexlist/events{/privacy}","received_events_url":"https://api.github.com/users/alexlist/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T08:39:53Z","updated_at":"2015-08-12T08:39:53Z","body":"Thanks for the clarification... and sorry, yes it is documented as being a list of strings."}}