[Pdns-users] query problems

Curtis Maurand curtis at maurand.com
Tue Dec 28 22:30:23 UTC 2004


Nevermind.  The problem's been solved.  There were a couple of things, 
not the least of which was a mysql connectivity issue.  Also the 
recursor.conf wanted to go in /usr/etc for some odd reason.  when I 
compiled I used --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run 
--with-mysql --enable-recursor --enable-pdns_server.

go figure.

Also I've noticed a bug.  In my preparations for Hari-Kari (sp?), I had 
set up virtual servers per the instructions in the docs on the website.  
They didn't work.

I have a machine with several IP addresses on it.

eth0 = 69.49.141.146
eth0:1 = 69.49.141.145

In pdns.conf I have "local-address=69.49.141.145,127.0.0.1"

when I query the nameserver with dig, I get and error about the response 
coming from an unexpected source "69.49.141.146:53 expected 
69.49.141.145:53" and it dies.  Most resolvers will.  when I configure 
the base address of the machine to 69.49.141.145, it works fine.
When my dns went down I had set up a virtual nameserver as per the 
instructions in the documentation.  None of them worked because of the 
above issue.

The server should answer from the same address it received the query on.

Curtis

Curtis Maurand wrote:

> Hello,
>
> I have a domain on a server thats authoritative for it.  
> ns1.xyonet.com and ns1.mainelinesys.com are authoritative for 
> standre.org.    I have the following records in the system:
> mysql> select * from domains where name = 'standre.org';
> +----+-------------+--------+------------+--------+-----------------+---------+ 
>
> | id | name        | master | last_check | type   | notified_serial | 
> account |
> +----+-------------+--------+------------+--------+-----------------+---------+ 
>
> | 35 | standre.org |        |          0 | MASTER |               0 
> |         |
> +----+-------------+--------+------------+--------+-----------------+---------+ 
>
> 1 row in set (0.00 sec)
>
> then the records table has:
> mysql> select * from records where domain_id = 35;
> +-----+-----------+------------------+----------------------------------------+------+------+-------------+------+ 
>
> | id  | domain_id | name             | 
> content                                | ttl  | prio | change_date | 
> type |
> +-----+-----------+------------------+----------------------------------------+------+------+-------------+------+ 
>
> | 226 |        35 | standre.org      | ns1.xyonet.com 
> hostmaster at xyonet.com 1 | 3600 |    0 |           0 | NS   |
> | 227 |        35 | standre.org      | 
> ns1.xyonet.com                         | 3600 |    0 |           0 | 
> NS   |
> | 228 |        35 | standre.org      | 
> ns1.mainelinesys.com                   | 3600 |    0 |           0 | 
> NS   |
> | 229 |        35 | standre.org      | 
> mail.standre.org                       | 3600 |   10 |           0 | 
> MX   |
> | 230 |        35 | mail.standre.org | 
> 69.49.141.146                          | 3600 |    0 |           0 | 
> A    |
> | 231 |        35 | www.standre.org  | 
> 69.49.141.141                          | 3600 |    0 |           0 | 
> A    |
> | 232 |        35 | standre.org      | 
> 69.49.141.141                          | 3600 |    0 |           0 | 
> A    |
> +-----+-----------+------------------+----------------------------------------+------+------+-------------+------+ 
>
> 7 rows in set (0.00 sec)
>
> however when I try to query the dns server I get:
>
> [root at canon mail]# dig @ns1.xyonet.com www.standre.org
>
> ; <<>> DiG 9.2.0 <<>> @ns1.xyonet.com www.standre.org
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42074
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;www.standre.org.               IN      A
>
> ;; Query time: 2 msec
> ;; SERVER: 69.49.141.140#53(ns1.xyonet.com)
> ;; WHEN: Mon Dec 27 20:36:47 2004
> ;; MSG SIZE  rcvd: 33
>
> Can anyone tell me what's going on?
>
> Curtis
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>




More information about the Pdns-users mailing list