LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-05-2004, 04:20 PM   #1
Pyro2k4
LQ Newbie
 
Registered: Sep 2004
Location: Area 51.5
Posts: 7

Rep: Reputation: 0
Reverse DNS


Now strictly a linux question but I thought this a good place to ask:

I'm slightly confused as to how all this Reverse DNS stuff works, and i'd be greatful if someone could help me!

I have a linux box behind my NAT router and I've started to host a few IRC bouncers, eggdrops and such for friends. I know a key feature of an IRC bouncer is to be able to use a vhost to mask the real IP address.

Lets just say I have the domain "cool.com", what do I need to do so i can have "user@this.is.cool.com" or plainly "user@cool.com" as my hostmask? I believe I need to contact my ISP (Eclipse Internet UK) and ask them to create a reverse DNS record and point it to my domain (well I think thats right, someone please correct me if i'm wrong). Also are there any specific settings i need to change for it to work?

I just need some confirmation on what exactly I need to do. Plus remember the box is behind NAT, I hope this doesn't complicate things!

Thanks for any help!
 
Old 09-06-2004, 02:59 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
You can only have a PTR record created for you if you have a static IP, and if your ISP allows it. Most consumer ISPs will not create PTR records for their customers (or give out static IPs, for that matter).

If the IRC daemon is using reverse DNS lookups to display hostname information, then you would need to get a PTR record to change that. The PTR record could really point to anything, but your ISP may do some kind of checking to make sure you own the domain.
 
Old 09-06-2004, 07:50 AM   #3
Pyro2k4
LQ Newbie
 
Registered: Sep 2004
Location: Area 51.5
Posts: 7

Original Poster
Rep: Reputation: 0
I do have a static IP and I know a friend on the same ISP who has setup this sucessfully.

Do I actually need to do anything with the domain? Or just register it?
 
Old 09-06-2004, 08:52 AM   #4
mindspin
LQ Newbie
 
Registered: Oct 2003
Location: NL.
Distribution: Fedora Core 2
Posts: 29

Rep: Reputation: 15
If you register a domain you will enter your ip if im right. So it will be automatically connected to your IP adress (if it doesnt change). So just register a domain and you can give your eggdrops names like stupideggdrop@mydomain.com
 
Old 09-06-2004, 01:00 PM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
mindspin, that is forward DNS. Pyro2k4 is asking about reverse DNS and that can only be setup by your ISP.

Pyro2k4, yes you should register the domain if you plan on having reverse DNS point to it. For best results you should also create a hostname in forward DNS that matches what you want for your reverse DNS entry.
 
Old 09-06-2004, 02:59 PM   #6
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
@Pyro,

May I ask, who is your ISP? - Static IPs and a PTR record seems far too good to be true! What's the catch?!

Steve
 
Old 09-06-2004, 03:15 PM   #7
Pyro2k4
LQ Newbie
 
Registered: Sep 2004
Location: Area 51.5
Posts: 7

Original Poster
Rep: Reputation: 0
Re: Reverse DNS

Quote:
Originally posted by Pyro2k4
my ISP (Eclipse Internet UK)
www.eclipse.net.uk
 
Old 09-06-2004, 05:38 PM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
In the US, Speakeasy.net offers static IPs (and lots of them, depending on your service package... you can also add more for a small monthly fee). Sonic.net also offers static IPs.
 
Old 09-06-2004, 05:59 PM   #9
Pyro2k4
LQ Newbie
 
Registered: Sep 2004
Location: Area 51.5
Posts: 7

Original Poster
Rep: Reputation: 0
I think I can get 8 for free and easily. If I want more I have to proove I need them (like having lots of networked PCs without NAT)
 
  


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
No reverse DNS??? DragonM15 Linux - Networking 5 11-22-2005 01:06 AM
Reverse DNS Webbie Linux - Networking 4 10-10-2005 08:49 PM
reverse DNS in C? Thinking Programming 3 04-27-2005 01:05 PM
Reverse DNS Snerkel Linux - Networking 11 04-19-2005 01:25 PM
Reverse DNS davespink Linux - Networking 2 02-27-2005 07:44 PM


All times are GMT -5. The time now is 01:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration