Can a DNS server have a source IP address?

Short question:

Since DNS is anycast, is there any way for a DNS server to know the "first" source of a DNS query coming from?

Long question: I developed my own DynDNS server using PowerDNS, I want to transfer it through the web interface by users. I want the web interface to update entries for each IP-based user.

Therefore, when a DNS server receives requests, if it can determine the source IP address, it would be easy to return the records associated with that IP address.

While I tested, the DNS server can only know the "last" node IP address in the DNS chain, not the source. Is there any way?

Yours faithfully

+3
source share
3 answers

, , ? , IP- , .

23-34-45-56.www.example.com

23-34-45-56.www.example.com 1800 CNAME www-europe.example.com

23-34-45-56.www.example.com  300     A 34.45.56.67

.

-, - NAT, HTTP- Javascript. , AJAX what-my-ip, X-Forwarded-For.

+2

Google Yahoo! (draft-vandergaast-edns-client-ip-01) DNS IETF Group, EDNS0 DNS-, IP- .

, , - IP- , DNS- .

, DNS, .

UPDATE. RFC 7871.

+6

:

DNS . DNS- anycasting , DNS/UDP DNS/TCP anycast. .

:

.

, DNS- . , DNS- - .

, , IP-. , IP-. , . , , .

+1

All Articles