Unix and Linux Discussions Tagged with resolv.conf |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
3,521 |
IP Networking |
|
|
|
2 |
3,973 |
Linux |
|
|
|
1 |
2,177 |
Web Development |
|
|
|
2 |
5,196 |
Debian |
|
|
|
2 |
3,618 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
13,159 |
Shell Programming and Scripting |
|
|
|
15 |
42,877 |
IP Networking |
|
|
|
1 |
4,997 |
Solaris |
|
|
|
2 |
10,996 |
SuSE |
|
|
|
10 |
17,473 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,943 |
IP Networking |
|
|
|
3 |
3,649 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
20,398 |
IP Networking |
|
|
|
3 |
6,559 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,132 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,192 |
IP Networking |
|
|
|
7 |
4,980 |
UNIX for Dummies Questions & Answers |
|
|
|
22 |
12,657 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,372 |
IP Networking |
|
|
|
4 |
5,216 |
UNIX for Dummies Questions & Answers |
EVENTDNSBASE(3) 1 EVENTDNSBASE(3)
The EventDnsBase class
INTRODUCTION
Represents Libevent's DNS base structure. Used to resolve DNS asyncronously, parse configuration files like resolv.conf etc.
CLASS SYNOPSIS
EventDnsBase
final
EventDnsBase
Constants
o const integer$EventDnsBase::OPTION_SEARCH1
o const integer$EventDnsBase::OPTION_NAMESERVERS2
o const integer$EventDnsBase::OPTION_MISC4
o const integer$EventDnsBase::OPTION_HOSTSFILE8
o const integer$EventDnsBase::OPTIONS_ALL15
Methods
o public bool EventDnsBase::addNameserverIp (string $ip)
o public void EventDnsBase::addSearch (string $domain)
o public void EventDnsBase::clearSearch (void )
o public EventDnsBase::__construct (EventBase $base, bool $initialize)
o public int EventDnsBase::countNameservers (void )
o public bool EventDnsBase::loadHosts (string $hosts)
o public bool EventDnsBase::parseResolvConf (int $flags, string $filename)
o public bool EventDnsBase::setOption (string $option, string $value)
o public bool EventDnsBase::setSearchNdots (int $ndots)
PREDEFINED CONSTANTS
o EventDnsBase::OPTION_SEARCH - Tells to read the domain and search fields from the resolv.conf file and the ndots option, and use
them to decide which domains(if any) to search for hostnames that aren't fully-qualified.
o EventDnsBase::OPTION_NAMESERVERS - Tells to learn the nameservers from the resolv.conf file.
o EventDnsBase::OPTION_MISC -
o EventDnsBase::OPTION_HOSTSFILE - Tells to read a list of hosts from /etc/hosts as part of loading the resolv.conf file.
o EventDnsBase::OPTIONS_ALL - Tells to learn as much as it can from the resolv.conf file.
PHP Documentation Group EVENTDNSBASE(3)