mirror of
https://github.com/mageddo/dns-proxy-server.git
synced 2026-04-25 09:25:56 +03:00
[GH-ISSUE #233] Does dps support reverse DNS? #93
Labels
No labels
bug
confirmed
discussion
duplicate
enhancement
feature
feature-request
not-planned
pull-request
secondary-feature
stale
triage
waiting-feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dns-proxy-server-mageddo#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qianhd on GitHub (Nov 1, 2021).
Original GitHub issue: https://github.com/mageddo/dns-proxy-server/issues/233
What is expected
Does dps support reverse DNS?
What is Happening
I found that when i using container's hostname ping container on host,it's alway wait some time. i do some research, the reason is reverse DNS timeout.
Changes (Optional)
@mageddo commented on GitHub (Mar 2, 2023):
Hey, localdb and docker entries doesn't have reverse dns support, I don't know much about this feature by haven't sure if it would solve your problem. So you are trying to ping a container from their hostname from the host machine, right? Something like (haven't tested this exact code snippet):
And the ping is not working? As the given example it should work and ping normally, if you aren't able to, it can be because you ran the container using an overlay network, take a look at this section, it may explain the issue you are getting.
@rissson commented on GitHub (Mar 8, 2023):
I should be possible to answer a
1.1.16.172.in-addr.arpa. IN PTRquery by looking up if there is a container with the IP172.16.1.1, and otherwise returning a NXDOMAIN. It would be quite useful to have!Love the project btw, thanks a lot!
@mageddo commented on GitHub (Mar 19, 2023):
Hey @rissson, I agree it can be useful, but I'm afraid it won't solve @qianhd question, so I've created #378 for the reverse DNS implementation and closing this one as we haven't a conclusive root cause here, feel free to reopen it and complement your question if you need it.