Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bind "not a valid number" [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Jun 26, 2004 5:12 pm    Post subject: Bind "not a valid number" [solved] Reply with quote

I'm trying to get a reverse mapping setup for a small network
I'm getting errors on loading the zone file
The error says
Quote:
Jun 26 18:02:50 [named] dns_rdata_fromtext: pri/192.168.2.rev:4: near '{': not a valid number
Jun 26 18:02:50 [named] zone 2.168.192.IN-ADDR.ARPA/IN: loading master file pri/192.168.2.rev: not a valid number

The zone file in question
Code:
$ORIGIN 2.168.192.IN-ADDR.ARPA.
$TTL 1h                 

@       IN        SOA     ns2.mydomain.com. admin.mydomain.com. {
                        2004062602      ; serial
                        1h              ; refresh
                        15M            ; retry
                        3W             ; expire
                        1h )            ; ttl

        IN      NS      ns2.mydomain.com.   

21     IN      PTR     www.mydomain.com.   
1       IN      PTR     router.mydomain.com.


I've just changed the domain names, everything else is identical.


Last edited by nobspangle on Sat Jun 26, 2004 5:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
kezzla
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 253
Location: Austin, TX

PostPosted: Sat Jun 26, 2004 5:16 pm    Post subject: Reply with quote

This line:
Code:
@       IN        SOA     ns2.mydomain.com. admin.mydomain.com. {

Should look like:
Code:
@       IN        SOA     ns2.mydomain.com. admin.mydomain.com. (


You have a { instead of a (.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Jun 26, 2004 5:23 pm    Post subject: Reply with quote

Thanks,
somebody should sort out that putty font, I've been staring at it for ages.
Back to top
View user's profile Send private message
kezzla
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 253
Location: Austin, TX

PostPosted: Sun Jun 27, 2004 4:00 pm    Post subject: Reply with quote

I suggest changing the default font to "Lucida Console" and the size to 11.
I LOVE IT THAT WAY !!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum