Socket Programming Port53 QTcpSocket/QUdpSocket
I like to write a DNS tool wo can convert records from bind8/bind9 to djbdns or to othe dns server.. if the RFC spec. is not to long why not self write a dns server? Easy and simple... Try yourselft to install && configure a DNS Server...:confused:
I not found the correct Specifications what client/server need to query domain name...
I suppose the Socket query request is only (MX domainname) or similar...
3 month a go i write a webdav client && i found the correct Specifications on http://www.webdav.org/specs/rfc2518.html and is possibel to write a client that can handle...
DNS Specifications RFC is a crazy labyrint protocoll to find on google!
I found only :
http://www.dns.net/dnsrd/rfc/
http://www.dns.net/dnsrd/programming.html
http://www.dns.net/dnsrd/tools.html
http://www.lifewithdjbdns.com/
I want only query CNAME/MX/A/NS/PTR records....
where is the place to find corect Specifications??
Re: Socket Programming Port53 QTcpSocket/QUdpSocket
How about just using libnsl?
Re: Socket Programming Port53 QTcpSocket/QUdpSocket
Quote:
Originally Posted by
wysota
How about just using libnsl?
Why http://doc.trolltech.com/3.2/qdns.html is not running? on QT4 is comming new??
Code:
void DnsQuery
::LookedUp( const QHostInfo &host
) {
qDebug() << "Lookup failed:" << host.errorString();
return;
}
qDebug() << "Found address:" << address.toString();
}
}
This is not fast! :crying:
libnsl dont have TTL or MX prior..
http://docs.hp.com/en/5965-4406/ch09s08.html
Re: Socket Programming Port53 QTcpSocket/QUdpSocket
Quote:
Originally Posted by
patrik08
Sorry?
Quote:
This is not fast! :crying:
In what way not fast? It uses your platform mechanisms so it should be exactly the same in speed as other DNS lookups.
Quote:
libnsl dont have TTL or MX prior..
"dig" uses libnsl and you can do everything with it (including AXFR transfers) so I can't agree with what you said.
Re: Socket Programming Port53 QTcpSocket/QUdpSocket
Quote:
Originally Posted by
wysota
Sorry?
"dig" uses libnsl and you can do everything with it (including AXFR transfers) so I can't agree with what you said.
Excuse I did not know it thad dig use this lib.. is dig source avaiable to find-know self doc from this lib? Place?
Re: Socket Programming Port53 QTcpSocket/QUdpSocket
dig is part of bind-utils (or simmilar) package and is under GPL, so yes, sources are available.