Articles of powerdns

我可以使用PowerDNS作为HTTP负载平衡器吗?

我想为多个Web应用程序提供服务,并通过testingnetworking内的域名提供这些应用程序。 因此,我想使用PowerDNS,因为它似乎有一个很好的API。 Web应用程序将被一个小群集的爬虫访问。 我想在两台服务器上使用相同的域名运行相同的Web应用程序以实现负载平衡。 PowerDNS可以用较less的负载指向服务器,还是需要另一个软件来实现? 我需要寻找什么? 像“HTTP负载平衡器”? 这样的软件如何与DNS一起工作?

PowerDNS错误与奴隶

我在Ubuntu 14.04上安装了PowerDNS 3.3服务器(用于testing)。 它应该只有主人。 没有奴隶存在。 我一直得到这个错误: Received NOTIFY for mydomain.com from 82.91.23.176 but slave support is disabled in the configuration Received unsuccessful notification report for 'mydomain.com' from 82.91.23.176:53, rcode: 4 82.91.23.176 (在这篇文章中修改)是PowerDNS服务器的WAN IP。 在这里我的pdns.conf allow-axfr-ips=127.0.0.1 allow-recursion=127.0.0.1 config-dir=/etc/powerdns daemon=yes disable-axfr=no guardian=yes include-dir=/etc/powerdns/pdns.d local-address=0.0.0.0 local-port=53 master=yes module-dir=/usr/lib/powerdns setgid=pdns setuid=pdns socket-dir=/var/run version-string=powerdns webserver=yes webserver-address=192.168.178.33 据我了解, slave=no是默认的,axfr不允许slave,所以PowerDNS不应该收到任何通知。 或者这个消息是关于什么的?

设置反向DNS时我缺less什么?

我正在设置rDNS以与SolusVM服务器一起使用。 我在两台服务器上使用PowerDNS作为从服务器和主服务器,并成功设置了MySQL复制。 查看MySQLlogging表时,我看到了SOA,NS和PTRlogging。 我创build了两个Alogging(rdns1.example.com,rdns2.example.com),并分别将它们指向主服务器和从服务器。 我更新了arin.net上的IP反向DNS名称服务器,以指向rdns1.example.com和rdns2.example.com 如果我运行“主机146.71.84.4”,它会返回: Host 4.84.71.146.in-addr.arpa not found: 2(SERVFAIL) 如果我运行'dig -x 146.71.84.4',它会返回: ; <<>> DiG 9.9.5-9+deb8u10-Debian <<>> 146.71.84.4 ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 41971 ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: […]

我需要阅读为了configurationPowerDNS?

最近我的任务是使用Microsoft SQL数据源在Windows上configurationPowerDNS,所以它将parsingLAN名称,如“a1”到192.168.0.10,“a2”到192.168.0.11等。很多logging。 但是我没有DNS服务器configuration的经验,PowerDNS手册中没有“noice”信息。 基本上,所有的手动状态是“把DNS数据放入SQL表”。 “DNS数据”是“domain_id”,“type”,“A”,“AAA”,“SOA”等字段的模糊logging。 我试图input一些简单的数据到数据库中,并有天赋powerDNS :)。 看来我必须按照一些规则input正确的数据。 问题是:我在哪里可以阅读有关LAN的PowerDNSconfiguration的介绍性信息?

PowerDNS pgSQLconfiguration不同的架构

我已经使用PowerDNS几年了,最后决定切换到pgSQL而不是mySQL。 我一直在研究这个问题,但我没有发现任何坚实的东西,所以我认为这可能是不可能的。 我很好奇,如果可以从称为pdns的模式而不是称为pdns的数据库安装和运行PowerDNS? 我无法find任何告诉PowerDNS查看X数据库和Y模式的选项。 例如,我有一个名为example的数据库,在这个数据库中有两个模式叫做mydb和pdns 。 我想在pdns模式中安装PowerDNS表结构,然后从该模式运行PowerDNS服务。 当表处于public模式时,似乎工作得很好。

将Bind-DLZ数据导出到传统的named.conf中?

我正在寻找转换基于绑定-DLZ的安装到基于PowerDNS的设置。 为此,我想使用PowerDNS附带的zone2sql工具。 不幸的是,这个工具在我的named.conf跳过DLZ定义的区域。 我一直在寻找一个脚本,将DLZ数据库转储到传统的DNS文件和引用它们的named.conf ,但没有任何运气。 这样的工具是否存在? 如果是这样,你会如此友善,连接我吗?

PDNS日志轮换

我想知道什么是推荐的方式来旋转PowerDNS日志文件。 我添加了以下条目到logrotate: # cat /etc/logrotate.d/pdns /var/log/pdns/*.log { daily rotate 7 compress delaycompress } – 但它看起来像PowerDNS不接受来自logrotate的信号,它指的是旧的日志文件: # lsof | grep "pdns.log*" rsyslogd 17776 root 5w REG 253,0 88273 785738 /var/log/pdns/pdns.log-20140728 有两种可用的方法: 1. copytruncate选项,但有一个警告,一些日志logging数据可能会丢失。 copytruncate Truncate the original log file in place after creating a copy, instead of moving the old log file and optionally creating a […]

即使SOA串行不变,PowerDNS是否更新DNSSEClogging?

我试图了解PowerDNS从站是否可以更新logging,即使该区域在SOA中的序列号不会更改。 我想到的情况如下: 有一个主服务器为DNSSEC进行实时签名。 背景是,我想通过只更改数据库来传递当前签名的logging。 当数据库中的SOA串行发生更改时,从站将得到通知,并自动检索新(和签名)的数据。 但是,根据文件,RRSIGlogging的有效期为一到两周。 即使SOA没有改变,奴隶也会自动获得新的RRSIGlogging吗?

如何使用IP作为名称服务器使用新注册的域来安装两个DNS服务器?

我已经使用Ubuntu 16.04.02和IPconfiguration了两台VPS DNS服务器 DNS IP 1 169.239.180.241 [ns1.hostthrone.com Hostname] DNS IP 2 169.239.181.204 [ns2.hostthrone.com Hostname] 我使用namecheap.com注册新域名hostthrone.com并将名称服务器指向: 169.239.180.241 169.239.181.204 在第一台DNS服务器上,我创build了主区域 12 hostthrone.com SOA n1.hostthrone.com hostthrone.com 2017073002 28800 7200 604800 86400 86400 13 ns1.hostthrone.com A 169.239.180.241 14 ns2.hostthrone.com A 169.239.181.204 在第二个DNS服务器上,我创build了一个指向主站NS 169.239.180.241的从站区域。 我还在我的VPS Provider网站上创build了反向DNS 522 169.239.180.241 241.180.239.169.in-addr.arpa ns1.hostthrone.com 521 169.239.181.204 204.181.239.169.in-addr.arpa ns2.hostthrone.com 并在每个logging的powerdns控制面板中反向DNS。 该域不指向DNS服务器或DNS被错误configuration任何帮助?

PowerDNS,仅返回SOAlogging

我已经安装powerdns服务器,我很满意基本function。 除非使用www.example.com,否则我的域中的用户无法访问example.com 当我使用主机命令 host example.com 127.0.0.1 我明白了 ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.6 <<>> @localhost example.com ; (2 servers found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45277 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION […]