orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
_whitelogger has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
dellavg has joined #ruby
Nicmavr has joined #ruby
mochiyoda_ has joined #ruby
absolutejam4 has joined #ruby
mochiyoda has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
absolutejam4 has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaul has quit [Quit: :wq]
phaul has joined #ruby
gb_away has quit [Ping timeout: 244 seconds]
reber has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
cliluw has quit [Read error: Connection reset by peer]
x86sk has quit [Quit: Connection closed for inactivity]
nowhere_man has joined #ruby
dviola has quit [Quit: WeeChat 2.5]
jenrzzz has quit [Ping timeout: 248 seconds]
jenrzzz has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
schne1der has joined #ruby
_whitelogger has joined #ruby
schne1der has quit [Ping timeout: 245 seconds]
kapilp has quit [Quit: Connection closed for inactivity]
nowhere_man has quit [Ping timeout: 272 seconds]
fphilipe has joined #ruby
kyrylo has joined #ruby
stan has quit [Remote host closed the connection]
stan has joined #ruby
ramfjord has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
x86sk has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
BH23 has joined #ruby
TomyLobo has joined #ruby
kyrylo has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
dellavg has quit [Ping timeout: 244 seconds]
Fernando-Basso has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
dbugger has joined #ruby
dbugger has quit [Quit: Leaving]
chalkmonster has joined #ruby
nowhere_man has joined #ruby
bitwinery has quit [Quit: Leaving]
fphilipe has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 246 seconds]
thebananaking has quit [Quit: Connection closed for inactivity]
BH23 has quit [Ping timeout: 258 seconds]
universa1 has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
universa1 has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
BH23 has joined #ruby
woodruffw has quit [Ping timeout: 244 seconds]
woodruffw has joined #ruby
woodruffw has joined #ruby
woodruffw has quit [Changing host]
gb_away has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
fphilipe has joined #ruby
seaef has joined #ruby
jenrzzz has joined #ruby
fphilipe has quit [Ping timeout: 276 seconds]
Cthulu201 has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
nowhere_man has joined #ruby
Cthulu201 has joined #ruby
seaef has quit [Quit: I am functioning within established parameters.]
AJA4350 has joined #ruby
hutch has joined #ruby
fphilipe has joined #ruby
stan has quit [Remote host closed the connection]
oetjenj has joined #ruby
al2o3-cr has quit [Quit: If the universe is a machine where the future is uniquely determined by its present state, it would not be possible to calculate what the future will be.]
al2o3-cr has joined #ruby
kapilp has joined #ruby
x86sk has quit [Quit: Connection closed for inactivity]
fphilipe has quit [Ping timeout: 264 seconds]
lucasb has joined #ruby
stan has joined #ruby
code_zombie has joined #ruby
kyrylo has joined #ruby
fphilipe has joined #ruby
agent_white has quit [Quit: brb]
BH23 has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
reber has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 245 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
gix has joined #ruby
GodFather has joined #ruby
matheusmoreira has quit [Ping timeout: 246 seconds]
matheusmoreira has joined #ruby
teclator has quit [Ping timeout: 272 seconds]
P-NuT has joined #ruby
<P-NuT>
Hi All. I'm new to ruby and am trying to use the rubydns gem.
Esa_ has joined #ruby
<P-NuT>
I can run the server and get a result, however I want to only return the IP and don't understand how to drill down to only get this result.
<P-NuT>
from the myriad of stuff that it brings back
<P-NuT>
Can anyone help?
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gb_away has quit [Ping timeout: 245 seconds]
gb_away has joined #ruby
fphilipe has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
<canton7>
P-NuT, your question is a little unclear. rubydns is a DNS *server*. Servers typically return results - they don't fetch them (excluding dealing with upstream servers). What exactly do you want to drill down into?
<P-NuT>
So, I am using the upstream servers and it returns a response.
suukim has joined #ruby
<P-NuT>
However if I use pretty print it responds with a very large amount of data formulated in a dictionary.
<P-NuT>
starting with #<Async::DNS::Transaction:0x00007f972ba84c00
<P-NuT>
Just thinking about this though... perhaps this is just a dictionary excersise to get the value that I need..
<canton7>
I doubt it is a dictionary - it's probably just printing something that looks like what you see if you print a dictionary
<canton7>
just drill down into it. use #class to see what the type is, and either find the docs for that type, or use #methods to see what methods it has
chalkmonster has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
<P-NuT>
Actually, forget it. I'l just going back to python.
P-NuT has quit []
wildtrees has joined #ruby
<al2o3-cr>
that P should of been a C
yokel has quit [Ping timeout: 272 seconds]
nowhereman has joined #ruby
nowhere_man has quit [Ping timeout: 268 seconds]
schne1der has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.2]
Swyper has quit [Remote host closed the connection]
r29v has joined #ruby
fphilipe has joined #ruby
Swyper has joined #ruby
reber has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
teclator has joined #ruby
Swyper has quit [Ping timeout: 272 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
jenrzzz has joined #ruby
DTZUZU has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
tdy has joined #ruby
leah2 has quit [Ping timeout: 276 seconds]
teclator has quit [Ping timeout: 268 seconds]
leah2 has joined #ruby
duderonomy has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
impermanence has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 264 seconds]
ltd has quit [Ping timeout: 272 seconds]
ltd has joined #ruby
x86sk has joined #ruby
chalkmonster has quit [Ping timeout: 246 seconds]
sameerynho has quit [Ping timeout: 244 seconds]
leah2 has joined #ruby
suukim has quit [Quit: Konversation terminated!]
fphilipe has joined #ruby
AJA4350 has quit [Ping timeout: 272 seconds]
leah2 has quit [Ping timeout: 276 seconds]
involans has joined #ruby
_whitelogger has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
involans has quit [Quit: involans]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
Fernando-Basso has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 268 seconds]
<adam12>
lol
gb_away has quit [Ping timeout: 244 seconds]
tdy has quit [Ping timeout: 248 seconds]
Inline has joined #ruby
P-NuT has joined #ruby
<P-NuT>
Hi All, I'm back
<P-NuT>
:-)
<P-NuT>
Has anyone used the rubydns?
cow[moo] has quit [Read error: Connection reset by peer]
cow[moo] has joined #ruby
impermanence has joined #ruby
AJA4350 has joined #ruby
leah2 has joined #ruby
jenrzzz has joined #ruby
<P-NuT>
Actually, scratch that, it's moved to async/dns
P-NuT has quit []
jenrzzz has quit [Ping timeout: 272 seconds]
tdy has joined #ruby
hello1231231231q has joined #ruby
hello1231231231q has quit [Remote host closed the connection]
orbyt_ has joined #ruby
wildtrees has quit [Remote host closed the connection]
<phaul>
:)
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]