Page MenuHomePhabricator

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 task.May 6 2018, 10:30 AM
kouak created this object in space S1 VyOS Public.
syncer assigned this task to c-po.May 6 2018, 1:17 PM
syncer triaged this task as Normal priority.
syncer edited subscribers, added: Maintainers, Core Community, syncer; removed: kouak.

@c-po this one easy

c-po added a comment.EditedMay 6 2018, 1:23 PM

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

c-po moved this task from Need Triage to Finished on the VyOS 1.2 Crux board.
c-po added a comment.May 6 2018, 5:47 PM

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

syncer closed this task as Resolved.May 6 2018, 6:18 PM
syncer changed the visibility from "Subscribers" to "Public (No Login Required)".Oct 15 2018, 11:39 PM