Skip to content

Comments

feat: Make DHCP container port configurable#401

Open
Slyrc wants to merge 1 commit intoMoJo2600:mainfrom
Slyrc:make-dhcp-container-port-configurable
Open

feat: Make DHCP container port configurable#401
Slyrc wants to merge 1 commit intoMoJo2600:mainfrom
Slyrc:make-dhcp-container-port-configurable

Conversation

@Slyrc
Copy link

@Slyrc Slyrc commented Jan 3, 2026

Description of the change

Make the ContainerPort of DHCP configurable

Benefits

Use alternative ports for DHCP if needed
E.g.:
https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html

--dhcp-alternate-port[=<server port>[,<client port>]]
(IPv4 only) Change the ports used for DHCP from the default. If this option is given alone, without arguments, it changes the ports used for DHCP from 67 and 68 to 1067 and 1068. If a single argument is given, that port number is used for the server and the port number plus one used for the client. Finally, two port numbers allows arbitrary specification of both server and client ports for DHCP.

Possible drawbacks

There are no

Applicable issues

N.A.

Additional information

N.A.

Checklist

@auto-assign auto-assign bot requested a review from MoJo2600 January 3, 2026 00:41
madic-creates added a commit to madic-creates/pihole-kubernetes that referenced this pull request Jan 12, 2026
Replace hardcoded port values (53 for DNS, 67 for DHCP) with configurable
values from serviceDns.port and serviceDhcp.port in deployment and service
templates.

Inspired by MoJo2600#401
madic-creates added a commit to madic-creates/pihole-kubernetes that referenced this pull request Jan 12, 2026
Replace hardcoded port values (53 for DNS, 67 for DHCP) with configurable
values from serviceDns.port and serviceDhcp.port in deployment and service
templates.

Inspired by MoJo2600#401
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants