1
# $Id: compatibility.rb,v 1.2 2003/03/31 14:11:13 sdalu Exp $
4
# AUTHOR : Stephane D'Alu <sdalu@nic.fr>
5
# CREATED : 2002/07/19 07:28:13
7
# COPYRIGHT: AFNIC (c) 2003
12
# $Date: 2003/03/31 14:11:13 $
15
# - the ruby file: resolv.rb
17
# CONTRIBUTORS: (see also CREDITS file)
23
def initialize(config="/etc/resolv.conf")
24
cfg = Config::from_resolv(config)
25
@client = Client::STD::new(cfg)
33
@client.getaddress(name)
36
def getaddresses(name)
37
@client.getaddresses(name)
41
@client.getname(address)
45
@client.getnames(address)