Page MenuHomeVyOS Platform

Vyos 1.2.6-S1 DNS Server does not restart automatically on commit
Needs testing, Unbreak Now!PublicBUG

Description

When making changes to static-host-mapping in Vyos 1.2.6-S1 (with the updated pdns_recursor package) the following error is shown on commit:

[ system static-host-mapping ]
sh: /etc/init.d/pdns-recursor: No such file or directory

The router is correctly reporting that /etc/init.d/pdns-recursor doesn't exist - it appears to have been removed when the fix for CVE-2020-10995 was deployed.

It is also found by checking against the router's DNS service using dig that it will return entries from the DNS that were deleted. So it appears that in 1.2.6-S1 the DNS service is not being restarted.

A manual fix for this problem is to issue:

tim@ferrari:~$ restart dns forwarding

Which correctly restarts the DNS service and ensures that the commited configuration is reflected when the router is queried using dig.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.6-S1
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change

Event Timeline

tjh created this task.Oct 1 2020, 5:59 PM
kroy changed the task status from Open to Needs testing.Oct 1 2020, 6:29 PM
kroy claimed this task.
kroy triaged this task as Unbreak Now! priority.
kroy added a subscriber: kroy.

This PR should correct it. Fortunately it appears that that this node was the only place this existed.

c-po added projects: Restricted Project, VyOS 1.2 Crux (VyOS 1.2.7).Oct 1 2020, 7:23 PM
c-po moved this task from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.7) board.
pasik added a subscriber: pasik.Oct 2 2020, 7:55 AM