04-04-2003
One more thing.
If these boxes are on different domains. You will most likely need to use a gateway in /etc/hosts and/or a search parameter in a file similar to /etc/resolv.conf as it is on my HPUX systems.
If they are on the same domain/IP class then you don't need anything else that I can remember.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is:
hosts.allow
ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies
2. Cybersecurity
I was wondering where in UNIX is file where I can delete hosts that can or ca not access UNIX machine
thanks in advance (1 Reply)
Discussion started by: amon
1 Replies
3. IP Networking
I was wondering where in UNIX is file where I can delete hosts that can or ca not access UNIX machine
thanks in advance (5 Replies)
Discussion started by: amon
5 Replies
4. UNIX for Dummies Questions & Answers
Hello everyone,
This is my first posts and I did search for a questions but did not find a question that answered my question unless of course I overlooked it.
I'm running Solaris 8. I use ssh for the users but I have a user called "chatterbox" that uses telnet but I need for chatterbox to... (1 Reply)
Discussion started by: huddlestonsnk
1 Replies
5. UNIX for Dummies Questions & Answers
Hello,
where can I get complete specification for /etc/hosts? I found a lot of snippets but nothing where the format of file is completely written (I'm especially interested in comments in /etc/hosts)
Thank you for help! (3 Replies)
Discussion started by: MartyIX
3 Replies
6. IP Networking
Hello everyone.
Im using last redhat enterprise edition and in my working environment, i'm always reconfiguring both interfaces , eth0 and eth1, everytime i change any interface, (i use ifconfig to change ip, and after i execute "/etc/init.d/network restart") my "/etc/hosts" file... (9 Replies)
Discussion started by: trutoman
9 Replies
7. UNIX for Dummies Questions & Answers
Ive change /etc/hosts many times but it reverts to the previous setting automatically. Ive restarted the server after the edit. Any ideas what im doing wrong
Previous /etc/hosts
127.0.0.1 localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this... (3 Replies)
Discussion started by: wizecho
3 Replies
8. AIX
hi all
just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box.
it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames.
the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
For /etc/hosts.deny was it used to deny access from the internet? (2 Replies)
Discussion started by: alvinoo
2 Replies
10. Solaris
Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh.
Actions to perform within a single ssh session via shell script
- copy a file
- untar at destination (remote host)
OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
LEARN ABOUT PHP
eventdnsbase
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)