no servers could be reached
Ian
db5 at hermes.net.au
Fri Jun 17 16:52:31 UTC 2005
Gregory, thank you, but no luck. I added the line to localhost.zone, but
dig still doesn't work.
Regards
Ian Dudley-Bestow
(rapidly becomming a Bind skeptic)
*******start*******
Ian at house:/etc$ dig garage
; <<>> DiG 9.2.2-P3 <<>> garage
;; global options: printcmd
;; connection timed out; no servers could be reached
*******end*******
*******start*******
Ian at house:/etc$ cat /var/named/caching-example/localhost.zone
;
; Zone file for linux.bogus
;
; The full zone file
;
$TTL 3D
@ IN SOA localhost. hostmaster.localhost. (
2005061401 ; serial, todays date + todays
serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS 127.0.0.1 ; Inet Address of name server
ns IN A 127.0.0.1
localhost A 127.0.0.1
garage A 192.168.1.9
shed A 192.168.1.10
*******end*******
>> *******start*******
>> root at house:/var/named/caching-example# cat localhost.zone
>> $TTL 3D
>> @ IN SOA localhost. hostmaster.localhost. (
>> 2005061401 ; serial, todays date +
> todays
>> serial #
>> 8H ; refresh, seconds
>> 2H ; retry, seconds
>> 4W ; expire, seconds
>> 1D ) ; minimum, seconds
>> ;
>> NS ns ; Inet Address of name server
>
> You need to have an A record for the machine "ns"
>
> ns IN A 127.0.0.1
>
>> localhost A 127.0.0.1
>> garage A 192.168.1.9
>> shed A 192.168.1.10
>> *******end*******
>>
>>
>
> ---------------------------------------------------------------------
> Gregory Hicks | Principal Systems Engineer
> Cadence Design Systems | Direct: 408.576.3609
> 555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3479
> San Jose, CA 95134 | Internet: ghicks at cadence.com
>
> I am perfectly capable of learning from my mistakes. I will surely
> learn a great deal today.
>
> "A democracy is a sheep and two wolves deciding on what to have for
> lunch. Freedom is a well armed sheep contesting the results of the
> decision." - Benjamin Franklin
>
> "The best we can hope for concerning the people at large is that they
> be properly armed." --Alexander Hamilton
More information about the bind-users
mailing list