Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What does dns service discovery ( dns-sd ) mean?


Asked by Madison Espinoza on Dec 02, 2021 FAQ



DNS Service Discovery (DNS-SD) DNS Service Discovery is a way of using standard DNS programming interfaces, servers, and packet formats to browse the network for services. If you think the picture below looks a lot like the old Macintosh AppleTalk “Chooser”, that’s no coincidence.
Keeping this in consideration,
Given a type of service that a client is looking for, and a domain in which the client is looking for that service, this mechanism allows clients to discover a list of named instances of that desired service, using standard DNS queries. This mechanism is referred to as DNS-based Service Discovery, or DNS-SD.
In respect to this, Server code uses the members of this namespace to advertise services available to clients on a local network, via DNS Service Discovery (DNS-SD). Client code uses the members of this namespace to identify services being offered via DNS-SD.
Moreover,
I was told that "dns-sd" is just an alias for mDNS. But! Later I found out that DNS Service Discovery and Multicast DNS are two different things (which are compatible and work especially well when are used together but they do not require each other).
Thereof,
DNS Spoofing is a DNS attack that changes DNS records returned to a querier;DNS Hijacking is a DNS attack that tricks the end user into thinking they are communicating with a legitimate domain name; and DNS Cache Poisoning is a DNS attack targeting caching name servers.