Page MenuHomeVyOS Platform

PDNS does not export /etc/hosts entries
Closed, ResolvedPublic

Description

By default, powerdns does not export /etc/hosts entries : https://doc.powerdns.com/md/recursor/settings/#export-etc-hosts

Configuration generated should include a export-etc-hosts=yes line by default, unless "ignore-hosts-file" is set.

This can be fixed by changing those lines : https://github.com/vyos/vyos-1x/blob/current/src/conf-mode/vyos-config-dns-forwarding.py#L162-L163

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close

Event Timeline

kouak created this object in space S1 VyOS Public.
syncer triaged this task as Normal priority.
syncer edited subscribers, added: Maintainers, Active contributors, syncer; removed: kouak.

@c-po this one easy

hmmm ... it should but I'll have a look. Pussibly I missinterpreted the defaults.

Integrated in latest rolling release. Thanks for reporting the problem and solution.

syncer changed the visibility from "Subscribers" to "Public (No Login Required)".Oct 15 2018, 11:39 PM