An alternative is if you point me some library that serve for receiving 
UDP packets of client DNS and can process these

Thanks,
Xan.

Xan wrote:
> Hi,
> 
> I want to know if you can help me in writing a ruby authoritative only 
> DNS server. I have my local network and I want a authoritative DNS 
> server for resolve the local names. So I don't need recursive DNS 
> servers.
> 
> I searched in net but I don't see anything so simple to put in as my 
> server and that I understand for modify it.
> 
> Really, I know something like
>   - a server, say adns
>   - adns has its own file like /etc/hosts in /etc/adns/hosts in where we 
> put local name server and ip, what is used for authoritative responses
> 
>     [something like:
> 
>       euler 172.58.24.1
>       marie 189.45.52.24
>       ...
>      ]
> 
> 
>   - if we add localhost to /etc/resolv.conf adns serves as DNS resolver 
> for local address.
> 
> 
> Is it possible?
> Can you help me?
> 
> Thanks,
> Xan.


-- 
Posted via http://www.ruby-forum.com/.