in reply to Re: DNS lookup
in thread DNS lookup

this code still only found the 192.168.100.x and not the 192.168.110.x address

Replies are listed 'Best First'.
Re^3: DNS lookup
by hippo (Archbishop) on Feb 14, 2023 at 18:45 UTC

    Well, if your hostname is only set up to resolve to a single IP address in your DNS then that's fine. If you want it to resolve to multiple addresses you will need to talk to your DNS maintainer and have them modify the zone so that it does (as happens with www.perlmonks.org).


    🦛

Re^3: DNS lookup
by cavac (Prior) on Feb 15, 2023 at 12:51 UTC

    Maybe it's a round robin setup (multiple addresses for a name, only one gets send to the client at any given time)

    Lookup type ANY should give more informations, but that also depends on the server configuration.

    PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP