Hello
I am a newbie to linux servers... I have set up a local dns server with this db.srna.sk file:
Code:
;
; BIND data file for local domain srna.sk
;
$TTL 604800
@ IN SOA srna.sk. srna.sk. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS srna.sk.
@ IN A 217.67.30.196
obyvacka IN A 192.168.1.128
spalna IN A 192.168.1.129
homelin IN A 192.168.1.130
notebook IN A 192.168.1.131
www IN CNAME @
web IN A 217.67.30.197
juvenis IN A 217.67.30.197
db IN A 217.67.30.198
mail IN A 217.67.30.194
smtp IN A 217.67.30.194
*.srna.sk. IN A 192.168.1.130
When I enter *.srna.sk, i.e. foo.srna.sk, it works. But when I try 4th level domains, i.e. test.foo.srna.sk, the host is not found. Can you please help me with this and give me advice how to correctly configure dns?
PS. This is just a local dns with local addresses (192.168.1.0/24) and public ip addresses (for me to being able to see my real webpage on webhoster's live server)
Thanks and Merry Christmas.