LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-08-2021, 10:32 AM   #1
CyberIT
Member
 
Registered: Jun 2017
Posts: 56

Rep: Reputation: Disabled
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!
 
Old 07-09-2021, 12:51 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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.
 
  


Reply

Tags
bind9, stderr



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I find file zone in the slave zone to the do a transfer of zone from Windows Server 2012 as master dns and CentOS as slave DNS. To learn Linux - Newbie 1 09-02-2016 09:36 AM
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM
Dns Problem Loading The Zone File Error(zone File Not Found) ramineni Linux - Newbie 1 09-14-2008 08:36 AM
How to share a ZFS file system between a global zone and a non global zone? crisostomo_enrico Solaris / OpenSolaris 7 11-28-2007 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration