On 02/02/2010 08:48, David Schwartz wrote:
> On Feb 1, 3:04 am, "Man-wai Chang to The Door (24000bps)"
> <toylet.toy...@gmail.com> wrote:
>
>> Does this suggestion have a Dark Side?
>>
>> http://www.linuxtoday.com/infrastruc...12903135NWNTSD
>
> It completely defeats the logic of the DNS system. The whole point of
> having a DNS server is that you can issue one request and return that
> response to any number of clients. There are many places where it
> makes sense to figure out the closest server, but bundling it into DNS
> seems like one of the worst possible choices to me.
>
> DS
I haven't read the details of the suggested system as yet, but
presumably responses from the upstream DNS server would contain the
resolved address, and an ip address and netmask for which that address
is valid. Then the downstream server could pass on the same result to
any clients with matching client addresses. This would give you almost
as much caching as today, since the majority of clients use their ISP's
DNS server (or a local server on their own network), and will having
matching ip addresses in most cases.
There are other situations where knowing the client address can be
useful for the DNS server - look at OpenDNS for an example.
Another use could be for embedded appliances of various sorts. Suppose
you buy a NAS box and plug it into your network (I'm thinking of home
networks, or small company networks here). It gets an IP address from
your DHCP server. To be able to use it, you've got to know the IP
address. There are a range of ways to do this today, none of which are
really ideal - certainly not ideal for all users. Client addresses in
DNS queries would give another way to deal with this situation. The box
could contact nasboxcompany.com and give it a copy of its local ip
address - the nasboxcompany.com server sees the packet as coming from a
particular IP address (the address of the network's NAT router in a
typical small network), and it stores this pair of addresses. The
customer can then point their webbrowser at mynasbox.nasboxcompany.com,
and nasboxcompany.com's DNS server will see the query coming from the
same global IP address, and be able to return the specific local ip
address for that customer's box.