LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-24-2009, 09:06 AM   #16
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36

Quote:
Originally Posted by bathory View Post
So you have to use 192.168.0.15 in the NS record of your zone file (forward and reverse)
bathory/ Yes, so difficult.
 
Old 08-24-2009, 09:19 AM   #17
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by bathory View Post
So you have to use 192.168.0.15 in the NS record of your zone file (forward and reverse)
Yes I want to 192.168.0.15 resolves my-server.dyndns.org.
 
Old 08-24-2009, 09:58 AM   #18
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
It's done the same way, it's not that difficult.

Forward:
Code:
$TTL 86400
@	IN	SOA my-server.dyndns.org.	my-server.dyndns.org. (
			2009082405	;
			28800;
			7200;
			604800;
			86400;
			)
		IN	NS	my-server.dyndns.org.
		IN	A	192.168.0.15
my-server		IN	A	192.168.0.15
Reverse:
Code:
$TTL 86400
@ IN SOA my-server.dyndns.org. my-server.dyndns.org. (
2009082405 ;
28800;
7200;
604800;
86400;
)
IN NS my-server.dyndns.org.
15 IN PTR my-server.dyndns.org.
 
Old 08-24-2009, 08:50 PM   #19
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
bathory/
I changed my-server.dyndns.org as this;

Quote:
$TTL 86400
@ IN SOA my-server.dyndns.org. my-server.dyndns.org. (
2009082408;
28800;
7200;
604800;
86400;
)
IN NS my-server.dyndns.org.
15 IN PTR my-server.dyndns.org.
And tested as;

Quote:
[root:localhost]# rndc reconfig
[root:localhost]# rndc reload
server reload successful
[root:localhost:~]# service named restart
stopping named: [ OK ]
starting named: [ OK ]
[root:localhost]# dig @192.168.0.15 my-server.dyndns.org

; <<>> DiG 9.3.4-P1 <<>> @192.168.0.15 my-server.dyndns.org
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 341
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;my-server.dyndns.org. IN A

;; AUTHORITY SECTION:
my-server.dyndns.org. 86400 IN SOA my-server.dyndns.org. my-server.dyndns.org. 2009082408 28800 7200 604800 86400

;; Query time: 14 msec
;; SERVER: 192.168.0.15#53(192.168.0.15)
;; WHEN: Tue Aug 25 09:37:34 2009
;; MSG SIZE rcvd: 73

[root:localhost]# ping my-server.dyndns.org
PING my-server.dyndns.org (121.151.61.40) 56(84) bytes of data.

--- my-server.dyndns.org ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7006ms
 
Old 08-25-2009, 02:35 AM   #20
windstory
Member
 
Registered: Nov 2008
Posts: 486

Original Poster
Rep: Reputation: 36
Works great!

I forgot ".", and fix them, then works!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Browse Local Network shawnbishop Linux - Networking 1 06-15-2006 07:38 AM
cannot browse PDF links which are not local philippeP Linux - Software 3 05-03-2006 07:47 AM
Need to browse local filesystem from browser - how? Bob2 Programming 3 08-03-2004 05:29 PM
Browse local network fatrandy13 Linux - Wireless Networking 1 07-04-2004 11:41 AM
Using Konqueror to Browse Local Intranet sacants Linux - Newbie 1 02-21-2003 07:17 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration