开发者

Is it possible to setup DNS server by using webservices as datasource on Linux?

If i want to setup a DNS server on Linux开发者_如何学运维 by using webservice(SOAP) as datasource to resolve the name. Is it possible?

By the way, I find some API to code it myself with Java but I will use it for the last choice.

Thanks in advance Wittaya


Assuming I understood the question, and you want to provision a dns server from a SOAP service. You can, for example by generating zone files. Or you could use something like PowerDNS's pipe backend to do it on the fly, but that would probably be slower and flakier than generating the configuration in one pass.


If you are asking whether or not it is possible to use Java to resolve names into IP addresses, the answer is yes. See InetAddress.getAllByName(String) for more information. You could create a SOAP interface based around invoking that method on an input argument.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜