AdguardTeam / AdguardTeam/AdGuardHome

Allow creation of DNS record when adding a client

Open
#1,897 4 comments 5 reactions 0 assignees View on GitHub
feature request P3: Medium
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

### Problem Description
When not using AGH as the DHCP server, if you want your hosts to display in the UI instead of an IP, you have to manually define client name to IP mappings. Now if you want to be able to also resolve those clients across the network, you now have to go over and create a rewrite rule entry.

### Proposed Solution
I'm proposing that tab area of the Client settings be extended to include a new section that allows creation of a DNS record.

![image](https://user-images.githubusercontent.com/6476604/87862337-e109bb00-c91c-11ea-92ce-c478ad986274.png)

* checkbox to enable
* a new field for the FQDN (since the client name may be just the host for readability).

The result would be a new DNS rewrite rule that is created and kept in sync with any changes made to the client entry. The API should also be extended to support these new config options.

### Alternatives Considered
The alternative is to manually create both and risk them being "out of sync" after changes.

### Additional Information

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.