Score:-1

reverse file not working . gives error message "bad dotted quad"

tz flag

here is my zone file

$TTL 86400
@       IN SOA  master.git-gotech.net. root.git-gotech.net (
                                        0       ; serial
                                        3600    ; refresh
                                        1800    ; retry
                                        604800  ; expire
                                        86400 ) ; minimum

@      IN  NS     master.git-gotech.net.
@      IN  A      10.1.10.189
189    IN  A      master.git-gotech.net.
159    IN  A      jessica-vm1.git-gotech.net.
Jaromanda X avatar
ru flag
check how your zone file compare to [this example](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s2-bind-configuration-zone-reverse) - or even [this answer in serverfault](https://serverfault.com/questions/462474/how-do-i-set-up-a-reverse-zone-file)
Score:2
pk flag

If this is supposed to be a reverse zone file (for zone 10.1.10.in-addr.arpa.) then the last two lines should be IN PTR records, instead of IN A:

189    IN  PTR      master.git-gotech.net.
159    IN  PTR      jessica-vm1.git-gotech.net.

That should fix the error message.

Also, although the record

@      IN  A      10.1.10.189

would be syntactically valid, it should be omitted because it's completely useless in a reverse zone.

HBruijn avatar
in flag
And the line `@ IN A 10.1.10.189` should be completely omitted as well.
telcoM avatar
pk flag
@HBrujin Thanks, edited.
Score:-1
in flag

An A record maps a domain name to the IP address (Version 4) of the computer hosting the domain. An A record uses a domain name to find the IP address of a computer connected to the internet, Some samples are given below.

ns1    IN  A      192.168.0.1
www    IN  A      192.168.0.2
bill   IN  A      192.168.0.3
fred   IN  A      192.168.0.4

I can see you are using domain name for A records.

HBruijn avatar
in flag
Although that is typically correct, in a reverse zone one expects PTR and FQDN's and not A records.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.