<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/data/templates/vyos-hostsd, branch current</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2024-02-29T21:09:28+00:00</updated>
<entry>
<title>vyos-hostsd: T4270: resolve only hostname without domain name to 127.0.1.1</title>
<updated>2024-02-29T21:09:28+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-29T21:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=3712f28025a5bc99e941b5212091a2732b9f6d6c'/>
<id>urn:sha1:3712f28025a5bc99e941b5212091a2732b9f6d6c</id>
<content type='text'>
This is a fix for commit 665ae50729 ("vyos-hostsd: T4270: do not resolve local
router FQDN to 127.0.1.1") as it made calls to sudo super slow due to:
   sudo: unable to resolve host vyos: System error

To avoid the initial issue we only add the hostname without domain name, thus
the FQDN is not resolved by powerdns.
</content>
</entry>
<entry>
<title>vyos-hostsd: T4270: do not resolve local router FQDN to 127.0.1.1</title>
<updated>2024-02-27T21:31:41+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-02-27T21:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=665ae5072911fbb1373c393d9b57212552957888'/>
<id>urn:sha1:665ae5072911fbb1373c393d9b57212552957888</id>
<content type='text'>
Clients using VyOS as their DNS server and trying to resolve the FQDN of the
router will receive 127.0.1.1 as answer.

set service dns forwarding allow-from '172.16.0.0/12'
set service dns forwarding listen-address '172.31.0.254'
set service dns forwarding negative-ttl '60'
set system domain-name 'vyos.net'
set system host-name 'R1'

Will return:

$ host R1.vyos.net 172.31.0.254
Using domain server:
Name: 172.31.0.254
Address: 172.31.0.254#53
Aliases:

R1.vyos.net has address 127.0.1.1

When it should rather return the real IP address assigned via DNS.
</content>
</entry>
<entry>
<title>dns: T4353: fix Jinja2 linting errors</title>
<updated>2022-04-16T10:13:06+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-04-16T10:13:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=68f8acbaf44379173faaa8aa7cae6ee40024df88'/>
<id>urn:sha1:68f8acbaf44379173faaa8aa7cae6ee40024df88</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dns: hosts: T4333: migrate to new vyos_defined Jinja2 test</title>
<updated>2022-04-13T20:55:46+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-04-13T20:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=0e02a8321f34069832ccd4266b5a82d48b82186a'/>
<id>urn:sha1:0e02a8321f34069832ccd4266b5a82d48b82186a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hosts: T2683: Allow multiple entries for static-host-mapping</title>
<updated>2021-10-22T11:55:17+00:00</updated>
<author>
<name>Viacheslav</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2021-10-22T11:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b1db3de80b8b5f4e2dcbc6d687d342986345c4b2'/>
<id>urn:sha1:b1db3de80b8b5f4e2dcbc6d687d342986345c4b2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hostsd: T3105: fix wrong new-line handling after template processor change</title>
<updated>2020-12-03T06:51:39+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian.poessinger@rohde-schwarz.com</email>
</author>
<published>2020-12-03T06:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=372ee96d5721bf9b315d1fb9180b553a9f859c4c'/>
<id>urn:sha1:372ee96d5721bf9b315d1fb9180b553a9f859c4c</id>
<content type='text'>
Commit c87ad948999 ("vyos.template: T2720: fix remaining in-line time_block
syntax") did not take into account when there is an if/endif statement on one
line, the following new-line will be discarded.
</content>
</entry>
<entry>
<title>vyos.template: T2720: fix remaining in-line time_block syntax</title>
<updated>2020-11-28T07:25:39+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-11-28T07:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=c87ad948999c28c3c9449f98d60b545481ea29d5'/>
<id>urn:sha1:c87ad948999c28c3c9449f98d60b545481ea29d5</id>
<content type='text'>
Commit a2ac9fac ("vyos.template: T2720: always enable Jinja2 trim_blocks
feature") globally enabled the trim_blocks feature. Some templates still used
in-line trim_blocks "{%"- or "-%}" which caused miss-placed line endings.

This is fixed by removing all in-line trim_block statememnts of Jinja2 templates.
</content>
</entry>
<entry>
<title>vyos.template: T2720: fix resolv.conf trim blocks</title>
<updated>2020-11-27T22:23:30+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-11-27T22:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=41f79409c742b6a020318b196cbaa52439845d6d'/>
<id>urn:sha1:41f79409c742b6a020318b196cbaa52439845d6d</id>
<content type='text'>
After commit a2ac9fac16eeb626d3969092fecf463650750640 remove no longer
required template trim block statements.</content>
</entry>
<entry>
<title>vyos-hostsd: T2583: add templates</title>
<updated>2020-06-11T20:10:47+00:00</updated>
<author>
<name>Jernej Jakob</name>
<email>jernej.jakob@gmail.com</email>
</author>
<published>2020-06-11T06:02:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=dbdd44c8669776efc33131c852a74f457c590aab'/>
<id>urn:sha1:dbdd44c8669776efc33131c852a74f457c590aab</id>
<content type='text'>
Move templates out of the daemon and add new templates.
</content>
</entry>
</feed>
