Zone file stderr message: dns_rdata_fromtext
by CyberIT from LinuxQuestions.org on (#5M0D2)
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!
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!