Score:0

DNS Zone has no address records (A or AAAA)

US flag

Whenever I run systemctl start named.service I get the error: zone example.com/IN NS 'linserver-1.myco.example.com.example.com' has no address records (A or AAAA) Now the confusing thing for me is that even though this failed, I'm still able to ping my server with a client using ping hostname even though the DNS service isn't running. I also want to note that dig, nslookup, and host commands aren't working.

nslookup linserver-1 returns DNS request timed out. Timeout was 2 seconds. Server: UnKnown, Address: 10.150.34.101

myco.example.db file:

@   IN SOA linserver-1.myco.example.com example.com myco.example.com (
        20002001 ; serial
        12h ; refresh
        15m ; update retry
        6w  ; exp
        3h  ; min
        )
@   IN NS linserver-1.myco.example.com.

ns1 IN A 10.150.34.101

linserver-2.myco.example.com    IN A 10.150.34.202

forward lookup zone file:

$TTL 2d ;

@   IN SOA linserver-1.myco.example.com example.myco.example.com. (
        20002001 ; serial
        12h ; refresh
        15m ; update retry
        6w  ; exp
        3h  ; min
        )
    IN NS linserver-1.myco.example.com
linserver-1     IN A 10.150.34.101
winclient   IN A 10.150.33.20
winserv     IN A 10.150.33.4
linclient   IN A 10.150.33.12
winclient-2 IN A 10.150.34.85

Reverse lookup Network 33:

$TTL 2d ;
$ORIGIN 33.150.10.IN-ADDR.ARPA.

@   IN SOA linserver-1.myco.example.com example.myco.example.com. (
        20002001 ; serial
        12h ; refresh
        15m ; update retry
        6w  ; exp
        3h  ; min
        )
    IN NS linserver-1.myco.example.com.
    IN NS linserver-2.myco.example.com.
4   IN PTR WinServ.myco.example.com.
12  IN PTR linclient.myco.example.com.
20  IN PTR winclient.myco.example.com.

Reverse lookup Network 34:

$TTL 2d ;
$ORIGIN 34.150.10.IN-ADDR.ARPA.

@   IN SOA linserver-1.myco.example.com example.myco.example.com. (
        20002001 ; serial
        12h ; refresh
        15m ; update retry
        6w  ; exp
        3h  ; min
        )
    IN NS linserver-1.myco.example.com.
    IN NS linserver-2.myco.example.com.
85  IN PTR winclient-2.myco.example.com.

Patrick Mevzek avatar
cn flag
`IN NS linserver-1.myco.example.com` You are missing the trailing dot there, hence the error message about "linserver-1.myco.example.com.example.com", note how the zone is repeated. In DNS configurations, names without trailing dots are relative to the zone they appear in (or their $ORIGIN pragma for bind)
Score:0
kr flag

When I make my Bind server, I used this link! . Works fine to me.

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.