<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rtl819xx/package/dnsmasq/files, branch master</title>
<subtitle>Realtek rtl819xx port to OpenWrt</subtitle>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/'/>
<entry>
<title>packages: sort network related packages into package/network/</title>
<updated>2012-10-10T12:32:29+00:00</updated>
<author>
<name>nbd</name>
<email>nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-10-10T12:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=9c8997d54dc9df184bfcedeabf0b3c85cf5e6753'/>
<id>9c8997d54dc9df184bfcedeabf0b3c85cf5e6753</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>package/dnsmasq: allow /etc/config/dhcp to specify --address arguments</title>
<updated>2012-07-05T17:54:14+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-05T17:54:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=a11747db110271a46e02cca79432d575d5f4913c'/>
<id>a11747db110271a46e02cca79432d575d5f4913c</id>
<content type='text'>
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.

For example:

  config dnsmasq:
	[snip]
	list address '/example.com/192.168.0.1'

will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -&gt; "xappend", "-A" -&gt; "--address"]

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32624 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.

For example:

  config dnsmasq:
	[snip]
	list address '/example.com/192.168.0.1'

will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -&gt; "xappend", "-A" -&gt; "--address"]

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32624 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>Add local TTL option to dnsmasq</title>
<updated>2012-07-05T17:46:32+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-05T17:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=119481db57bfd6f23271b58c226c3ec2a0e572b2'/>
<id>119481db57bfd6f23271b58c226c3ec2a0e572b2</id>
<content type='text'>
-T, --local-ttl=&lt;time&gt;
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne &lt;openwrt@andy.id.au&gt;

openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32623 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-T, --local-ttl=&lt;time&gt;
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne &lt;openwrt@andy.id.au&gt;

openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32623 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[package] dnsmasq: introduce "add_local_hostname" and "add_local_domain" options</title>
<updated>2012-07-01T11:32:46+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-01T11:32:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=8b203dc52782bb019225998e7411d5a3c12b78dc'/>
<id>8b203dc52782bb019225998e7411d5a3c12b78dc</id>
<content type='text'>
 - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf
 - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname
These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32570 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf
 - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname
These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32570 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>package/dnsmasq: permit UCI configuration of --dhcp-fqdn option</title>
<updated>2012-07-01T11:32:45+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-01T11:32:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=3a1e1be03a53fe424d9b7d7229edbd8e0e657fee'/>
<id>3a1e1be03a53fe424d9b7d7229edbd8e0e657fee</id>
<content type='text'>
This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai &lt;mark@moxienet.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai &lt;mark@moxienet.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32569 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH 1/4] package/dnsmasq: permit dhcp_option in global dnsmasq config section</title>
<updated>2012-07-01T11:32:29+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-07-01T11:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=2caf3c66a27b6650b3c80373deea8acd647ed938'/>
<id>2caf3c66a27b6650b3c80373deea8acd647ed938</id>
<content type='text'>
dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai &lt;mark@moxienet.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai &lt;mark@moxienet.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32568 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>dnsmasq: allow forcing options</title>
<updated>2012-05-19T20:17:56+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-05-19T20:17:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=323f8e06f606aca6424bb2554f6618bb94c4f875'/>
<id>323f8e06f606aca6424bb2554f6618bb94c4f875</id>
<content type='text'>
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The option 'force' when set to '1' will transform a dhcp-option to dhcp-option-force instead in the config.

This is useful for forcing options to be sent back to a client (even options it didn't ask for).

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31816 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>dnsmasq: add support for set: and tag: pairs</title>
<updated>2012-05-19T20:17:54+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-05-19T20:17:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=be8007e0760f612ff5e4586db2d98aee4e299cfb'/>
<id>be8007e0760f612ff5e4586db2d98aee4e299cfb</id>
<content type='text'>
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
	option name 'client'
	option mac '00:01:02:03:04:05'
	option ip '192.168.1.20'
	option tag 'acme'

config tag acme
	option force '1'
	list dhcp_option 'option:router,192.168.1.253'
	list dhcp_option 'option:domain-name,acme.com'
	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On my network, I have a variety of machines and appliances, some of which need different configuration issues than the default options.

For example:

config host
	option name 'client'
	option mac '00:01:02:03:04:05'
	option ip '192.168.1.20'
	option tag 'acme'

config tag acme
	option force '1'
	list dhcp_option 'option:router,192.168.1.253'
	list dhcp_option 'option:domain-name,acme.com'
	list dhcp_option 'option:domain-search,acme.com,redfish-solutions.com'

which allows me to override the default router for my client's host, as well as its domain-name, and its domain-search.

this causes the following config lines:

dhcp-host=00:01:02:03:04:05,set:acme,192.168.1.20,client
dhcp-option-force=tag:acme,option:router,192.168.1.253
dhcp-option-force=tag:acme,option:domain-name,acme.com
dhcp-option-force=tag:acme,option:domain-search:acme.com,redfish-solutions.com

This could be useful elsewhere, for instance, if you have an IP CCTV that you don't want to have a default-route, etc.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31815 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>[package] dnsmasq: fix parsing of mx record options (#11365)</title>
<updated>2012-05-19T20:17:19+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-05-19T20:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=ba344a5eae8cd3b063cfad98d79fc6639df61095'/>
<id>ba344a5eae8cd3b063cfad98d79fc6639df61095</id>
<content type='text'>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31814 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31814 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
<entry>
<title>dnsmasq: configure dnsmasq via flat config file and not command-line args</title>
<updated>2012-04-02T22:31:21+00:00</updated>
<author>
<name>jow</name>
<email>jow@3c298f89-4303-0410-b956-a3cf2f4a3e73</email>
</author>
<published>2012-04-02T22:31:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.advem.lv/rtl819xx/commit/?id=1018d3d279761d9395dab7b18074024a68a01c20'/>
<id>1018d3d279761d9395dab7b18074024a68a01c20</id>
<content type='text'>
Sometimes it's useful to compare the generated config file from UCI config with a hand-edited dnsmasq config file, especially if you're migrating to an OpenWRT router from something else (such as Astlinux).

Putting the generated config makes it easier to capture and diff, etc.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31182 3c298f89-4303-0410-b956-a3cf2f4a3e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes it's useful to compare the generated config file from UCI config with a hand-edited dnsmasq config file, especially if you're migrating to an OpenWRT router from something else (such as Astlinux).

Putting the generated config makes it easier to capture and diff, etc.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31182 3c298f89-4303-0410-b956-a3cf2f4a3e73
</pre>
</div>
</content>
</entry>
</feed>
