Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: query dns by hostname

by lithron (Chaplain)
on Mar 27, 2014 at 00:20 UTC ( #1079871=note: print w/ replies, xml ) Need Help??


in reply to query dns by hostname

I think you are misunderstanding what gethostbyname() does. gethostbyname allows you to resolve a DNS (or /etc/hosts entry) to an IP address. It does not allow you to do wildcard searches on a partial domain name.


Comment on Re: query dns by hostname

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1079871]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (15)
As of 2015-07-07 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls