[REBOL] Re: Ip adress
From: chalz:earthlink at: 8-Jan-2003 12:45
> bryan> Additional question to this, how would one get ones domain name?
>
> Well, you could always do this;
>
> domain: read dns://system/network/host-address
Problem with that, Mat. As I *just* discovered before I read your email :)
It takes that like a normal path; like if I tried to read
ftp://system/network/host-address .. won't work ;)
You need read join dns:// system/network/host-address
That is, if it's just one value. It was mentioned that you might get a
block, in which case that won't work. But I only received 1 value.
To make things nice and complicated, though:
read join dns:// read join dns:// system/network/host
=="something.blah.isp.com"
;)
--Charles