LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-29-2008, 08:19 AM   #1
haariseshu
Member
 
Registered: Jan 2008
Location: Noida, India
Distribution: RHEL
Posts: 81

Rep: Reputation: 15
Question How to validate SRV record:


Hi Frndz,
I'm running a dns server with bind version-9.2.4. Everything is going fine. But now I have added a SRV record to my DNS. My question is how I can validate that my DNS is serving properly and utilizing the SRV record for the specified domain.
I have already tried the following But .
My SRV record will look like this:
_http._tcp.example.com. IN SRV 1 92 80 www.example.com.

Where the A record for the www.example.com will look like this:
www IN A 10.1.1.80


When the user is typing example.com in their browser it should get resolved through the SRV record and A record. But when my client is typing http://example.com in their browser it's resulting with the error notifying that "The page cannot be displayed". But when they are typing www.example.com it is getting resolved through A record properly.

nslookup results for example.com SRV record from the server:

#nslookup
>_http._tcp.example.com
Server: 10.1.1.1
Address: 10.1.1.1#53

_http._tcp.example.com service = 1 92 80 www.example.com.
>



Any suggestions are most welcome...
Thanks a lot...


--
hari.
 
Old 10-01-2008, 12:33 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
To have the bare domain name resolve as an A record, you need to create an A record named @, such as:

@ IN A 10.1.1.80

You can validate that your DNS server is resolving names with dig:

dig example.com

You need other techniques to verify the client is making the correct queries.
 
  


Reply



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
What is the /srv directory actually for??? Wheddod Linux - Newbie 2 08-04-2008 07:15 AM
What is /srv dir most used for? jchambers Linux - Newbie 2 02-20-2008 12:50 AM
sys and srv in root basilogics Linux - Software 1 08-19-2005 09:01 PM
What is the /srv partition and do I need one? Thaidog Linux - Newbie 2 09-06-2004 03:42 AM
Samba can't validate the users jen209110 Linux - Networking 1 01-12-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:39 AM.

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
Open Source Consulting | Domain Registration