Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for aliases (CNAME records) and reverse lookup #40

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Mario-Klebsch
Copy link

@Mario-Klebsch Mario-Klebsch commented Aug 6, 2021

Hi,

I added support for aliases (named CNAME in DNS) and reverse lookup.

Aliases can be specified on the command line by adding -a options. Multiple aliases are supported. When a quenstion is asked for an alias, the CNAME records and the A (or AAAA) records of the aliased entry are added to the answer.

I also added support for reverse lookup (finding out the host name for an IP address). This is a bit complicated, since the questioned name consists of multiple labes.

Fixes #38

Mario Klebsch added 5 commits August 6, 2021 21:20
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.

Respond to multiple names
1 participant