Skip to content

Just query requires write access to redis #4

@jahlives

Description

@jahlives

I use pdns_redis.py on my server which runs a redis slave instance. If I just query pdns for a record I get SERVFAIL and in the logs

Dec 9 23:21:18 rbl3 pdns_server: Coprocess: Internal Error: You can't write against a read only slave.
Dec 9 23:21:18 rbl3 pdns_server: [PIPEBackend] coprocess returned a FAIL
Dec 9 23:21:18 rbl3 pdns_server: Backend reported condition which prevented lookup (coprocess returned a FAIL) sending out servfail

I just wonder if its really necessary to write to redis in case of answering a query?
I tried the -R and -W parameters but the error persists. So for me it seems that -W does not have any effect. I pointed it to the master redis but still got the error upon querying.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions