<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf-mode/vyos-config-dns-forwarding.py, branch feature/T9082-codeql-cpp</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2018-05-16T12:35:22+00:00</updated>
<entry>
<title>Use '_' instead of '-' for python scripts for test</title>
<updated>2018-05-16T12:35:22+00:00</updated>
<author>
<name>Yuya Kusakabe</name>
<email>yuya.kusakabe@gmail.com</email>
</author>
<published>2018-05-16T12:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=be6f809581ccbcd6411713128a63711eaa2ce6b7'/>
<id>urn:sha1:be6f809581ccbcd6411713128a63711eaa2ce6b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bugfix: DNS domain forward server syntax</title>
<updated>2018-05-15T19:20:21+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-15T19:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=560411eae7be70e5ef44edbdb5000aa311fdae8f'/>
<id>urn:sha1:560411eae7be70e5ef44edbdb5000aa311fdae8f</id>
<content type='text'>
When generating a configuration for DNS domain forward to a local server
with 'set service dns forwarding domain foo.com server 1.1.1.1' this resulted in

  # domain ... server ...
  forward-zones=bar.com = 2.1.1.1;2.1.1.2
  forward-zones=foo.com = 1.1.1.1;1.1.1.2

On PowerDNS recursor restart the last line won and it totally forgot about
'bar.com'. This could be seen from the logfiles that only one domain was loaded:

  Redirecting queries for zone 'foo.com.' to: 1.1.1.1:53, 1.1.1.2:53

The manual at https://doc.powerdns.com/3/recursor/settings/#forward-zones shows
that all domains have to be configured on one 'forward-zones=' line. In the above
example this has to result in:

  forward-zones=bar.com=2.1.1.1;2.1.1.2, foo.com=1.1.1.1;1.1.1.2

A subsequent check within the logfiles reveal that it's now working:

  Redirecting queries for zone 'bar.com.' to: 2.2.2.2:53, 2.2.2.1:53
  Redirecting queries for zone 'foo.com.' to: 1.1.1.1:53, 1.1.1.2:53
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/current' into current</title>
<updated>2018-05-15T18:58:58+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-15T18:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d34591809104df052d2706edec3ee3f8428cf55e'/>
<id>urn:sha1:d34591809104df052d2706edec3ee3f8428cf55e</id>
<content type='text'>
* upstream/current:
  Do not try to decode data read from /sys files in the show version script, it's already an str.
  Dependencies on file and pystache, for install and show version scripts..
  Add dependency on hvinfo, too.
  T637, T638: add dependencies on tcpdump and bmon.
  T638: new op mode CLI for the bandwidth monitor commands.
  T637: new op mode for traffic dumps based on tcpdump.
  Correct the logic of generating tag nodes for op mode.
  Add missing vyos.base module
  Fix cron interval regex to allow single digit values.
  Fix misplaces ConfigError exception.
  Some more valueless fixes.
  Mark nodes in SSH and NTP valueless (related to T602).
</content>
</entry>
<entry>
<title>bugfix: vyos-config-dns-forwarding.py: adding name-server into dictionary</title>
<updated>2018-05-15T18:58:29+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-15T18:58:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=86771ef232f45058f8cf8c5848ef2e805afadd1b'/>
<id>urn:sha1:86771ef232f45058f8cf8c5848ef2e805afadd1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bugfix: remove whitespaces in generated 'powerdns/recursor.conf'</title>
<updated>2018-05-15T18:46:38+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-15T18:46:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=17bce754270301b951d0af9c80bfbf08872ec5af'/>
<id>urn:sha1:17bce754270301b951d0af9c80bfbf08872ec5af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix misplaces ConfigError exception.</title>
<updated>2018-05-14T11:31:47+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2018-05-14T11:31:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=37aa8753fa67a1a8ad51cdc50539cab83f94ed2b'/>
<id>urn:sha1:37aa8753fa67a1a8ad51cdc50539cab83f94ed2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T560: bugfix access to NoneType object</title>
<updated>2018-05-12T18:43:10+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-12T18:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=53e0b1f060c3403ec29658a566d370d12cf7f22f'/>
<id>urn:sha1:53e0b1f060c3403ec29658a566d370d12cf7f22f</id>
<content type='text'>
Commit f1bbc20716 ("Add jinja2 and ipaddrcheck to dependencies.")
introduced access to a NoneType object when the service was removed.

This happened after:
 $ delete service dns forwarding
 $ commit

File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 201, in &lt;module&gt;
  verify(c)
File "/opt/vyatta/sbin/vyos-config-dns-forwarding.py", line 164, in verify
  if not dns['interfaces']:
TypeError: 'NoneType' object is not subscriptable
</content>
</entry>
<entry>
<title>vyos-config-dns-forwarding.py remote obsolete 'import time'</title>
<updated>2018-05-12T17:57:34+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-12T17:57:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=acd2822890afa32ded51e2120f6c176916a06f35'/>
<id>urn:sha1:acd2822890afa32ded51e2120f6c176916a06f35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T560: refactor the pdns script and switch to jinja2.</title>
<updated>2018-05-11T20:38:15+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2018-05-11T20:38:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3d26fd798795c9d7f4fb35b66f55d68754aba13c'/>
<id>urn:sha1:3d26fd798795c9d7f4fb35b66f55d68754aba13c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T622: PDNS does not export /etc/hosts entries</title>
<updated>2018-05-06T17:22:19+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2018-05-06T17:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b50430e30aa4c5c387e7aaaaa893dfe1410c9be3'/>
<id>urn:sha1:b50430e30aa4c5c387e7aaaaa893dfe1410c9be3</id>
<content type='text'>
</content>
</entry>
</feed>
