Skip to content

V6: No way to configure additional hosts without using the UI (custom.list is gone). #1900

@peterbraden

Description

@peterbraden

Like a lot of people, I used custom.list to add additional DNS entries to pihole v5, as a way to programmatically configure DNS for my network.

But with V6 that option doesn't exist anymore.

I'm looking for a way to do this without using the UI at all.

I've tried several approaches, including mounting in the dnsmasq.d files (no longer picked up), scripting the container with the pihole command (does not have the ability to set custom DNS).

Editing the pihole.toml is undocumented, but may work?

I wondered if anyone else had a solution?

This is a: Feature Request / Regression

Details

Ideally we could simply mount a file as before, and something in pihole could sync this with the FTL data.

Related Issues

  • I have searched this repository/Pi-hole forums for existing issues and pull requests that look similar

A similar issue where the user wanted to edit /etc/dnsmasq.d/01-pihole.conf:
#1813

A similar issue, but requires UI:
https://discourse.pi-hole.net/t/how-to-keep-separate-custom-dns-records-on-v6-via-ansible/76160/13

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions