This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

dns lookup
#6
(20.02.2023, 11:03)admin Wrote: There's no way of getting all IP addresses for a given host. Why do you need to get all? If some kind of load balancing is used then the list is not static and can change over time.
DNS requests are very lightweight and should not cause high load. You can put a small delay between them so there are no CPU load spikes.

I'm building a bot to manage dns-based ip routes on the router (vpn tunnel), for this reason i need all returned IPs by a single DNS query (like if you do nslookup). I understand there're some sites that are using dns round robin with 10+ addresses, but most of them are using 2-3 static and i want to make sure i add all of them to the routing policy.
Reply


Messages In This Thread
dns lookup - by toujour - 18.10.2021, 12:55
RE: dns lookup - by admin - 18.10.2021, 14:47
RE: dns lookup - by toujour - 20.10.2021, 12:22
RE: dns lookup - by myg - 20.02.2023, 10:45
RE: dns lookup - by admin - 20.02.2023, 11:03
RE: dns lookup - by myg - 22.02.2023, 12:58
RE: dns lookup - by admin - 22.02.2023, 14:15
RE: dns lookup - by myg - 22.02.2023, 14:16
RE: dns lookup - by admin - 22.02.2023, 14:18
RE: dns lookup - by myg - 22.02.2023, 14:27

Forum Jump: