LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Zone file stderr message: dns_rdata_fromtext (https://www.linuxquestions.org/questions/linux-server-73/zone-file-stderr-message-dns_rdata_fromtext-4175697445/)

CyberIT 07-08-2021 10:32 AM

Zone file stderr message: dns_rdata_fromtext
 
Hello
I see the following error messages

Code:

"stderr_lines": [
        "07-Jul-2021 16:53:13.146 dns_rdata_fromtext: buffer-0x7f167530ee60:1: near 'x.x.x.196': extra input text",
        "invalid rdata format: extra input text",
        "syntax error",
        "07-Jul-2021 16:53:13.168 dns_rdata_fromtext: buffer-0x7f39be3cae60:1: near 'x.x.x.197': extra input text",
        "invalid rdata format: extra input text",
        "syntax error"
    ],

Im not sure how to resolve this. What is dns_rdata_fromtext? I looked it up and found some info on some information is added at the end which shouldnt be there.
I looked thru the zone file and I dont see anything abnormal.

Zone file looks like the following
Code:

$ORIGIN .
$TTL 30      ; 30 seconds
ZONENAME  IN SOA  ns.mydomain.com. postmaster.no.email.please. (
                                553791163  ; serial
                                3600      ; refresh (1 hour)
                                600        ; retry (10 minutes)
                                2592000    ; expire (4 weeks 2 days)
                                3600      ; minimum (1 hour)
                                )
                        NS      ns1.mydomain.com.
                        NS      ns2.mydomain.com.
$ORIGIN ZONENAME.
$TTL 30      ; 30 seconds


Any help with dns_rdata_fromtext would be appreciated. Thanks!

berndbausch 07-09-2021 12:51 AM

Are you sure this is the only zone file? It contains no 196 or 197.

Have you validated your configuration? The usual command is named-checkconf, but there is also named-checkzone.


All times are GMT -5. The time now is 01:04 PM.