question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

luci-mod-network: split dns and dhcp functionality

See original GitHub issue

I would like to be able to split out the functionality for dns and dhcp for dnsmasq such that the dns UI could be independently installed. This would be useful in cases like Turris images that use a completely different dns resolver (knot-resolver).

I am happy to help in this effort. Is this something that would be welcome? I think the first obvious stel would be separating the config domain sections and any other dns configuration out of the /etc/config/dhcp so that they can be maintained as separate files. Of course, appropriate backward compatibility would need to be added to make this work smoothly. Is there a statement anywhere on backward compat requirements for OpenWrt that I could read up on?

Is this something that would be possible?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
wtcommented, Jun 6, 2020

To provide a bit now context, dnsmasq is still used for DHCP on turris. I would like to make it so that dnsmasq’s luci config for DHCP stays around. Also, there are some options that probably make sense for most DNS servers. It would be ideal to separate those out so that different resolvers could use a single common config for those common things.

0reactions
jow-commented, Jul 4, 2020

This looks like something that should be implemented in OpenWrt first to sort out the general configuration structure. LuCI can follow it then. I am not going to introduce LuCI specific deviations here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DHCP and DNS: Introduction, functions and options - Univention
The DHCP server either distributes free IP addresses from a specific pool, or it assigns static addresses to the clients and identifies them...
Read more >
Domain Name System (DNS) & Dynamic Host Configuration ...
Domain Name System (DNS) is an Internet service that translates domain names (e.g., its.umich.edu) into IP addresses. Dynamic Host Configuration Protocol (DHCP) ...
Read more >
How networks work: what is a switch, router, DNS, DHCP, NAT ...
As we already know, the DHCP service is responsible for assigning IP-addresses. Libvirt uses dnsmaq for DHCP and DNS and runs one dnsmasq...
Read more >
Configuring Split and Dynamic DNS on the Cisco VPN 3000 ...
DDNS requires that the DHCP address assignment is configured on the VPN Concentrator. Therefore, no configuration on the client is necessary.
Read more >
Best Practices Guide: DNS Infrastructure Deployment
out DNS, DHCP, and IPAM infrastructures, ... Then we move to DHCP, ... (although it offers more functionality), and the cost associated with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found