LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-23-2006, 01:41 PM   #1
70mas
Member
 
Registered: Sep 2006
Location: Slovakia
Distribution: Debian, Gentoo
Posts: 34

Rep: Reputation: 15
BIND problem


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.
 
Old 12-27-2006, 04:08 PM   #2
bitva
Member
 
Registered: Dec 2002
Location: Los Angeles
Distribution: Debian
Posts: 72

Rep: Reputation: 15
Works for me:

Non-authoritative answer:
Name: blah.blah.srna.sk
Address: 217.67.30.197

Non-authoritative answer:
Name: blah.blah.blah.srna.sk
Address: 217.67.30.197
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bind problem gubak Linux - Networking 13 07-22-2004 02:40 AM
Bind problem WiWa Linux - Networking 4 06-03-2004 09:53 AM
problem with bind krimson Linux - Networking 3 01-22-2004 06:50 PM
problem with bind krimson Linux - Software 0 01-19-2004 05:42 PM
problem bind 9.xx Rana Saud Linux - Networking 1 07-15-2003 11:45 AM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration