LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 10-17-2004, 04:19 AM   #1
vijayind
Member
 
Registered: Feb 2004
Distribution: Debian Sarge
Posts: 33

Rep: Reputation: 15
Psuedo domain and referal in DNS Server


Hi,

I am running a system with FEDORA CORE 2. I want to create dummy domains like "mail","help" or even "mail.company" etc. so that others in network don't need to remember and type the whole urls.

I have BIND and PowerDNS available on server. I want to insert a code into any of these soft. so that they can do automatic redirection.

I had a look at the source and have consumed 10 gallons of coffee since. Plz help me and give me a hint as where exactly i need to poke and change.(Any help as into how to change will be greatly helpful).

Thanks.... U have saved me from caffeine addiction and nuetralization.

Last edited by vijayind; 10-17-2004 at 04:21 AM.
 
Old 10-17-2004, 05:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
quite straight forward really, you just need to add a cname record for the domain you wish to create as an alias

http://www.networkclue.com/internet/DNS/bind/

Code:
    www   1D   IN   CNAME  mail.example.com.
so the local www server will also be reached when they go to mail.example.com, which is handy when a single [[apache]] server is needed to dish out both normal www and an online mail interfce for example.
 
  


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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-28-2012 12:50 AM
2 domain on DNS . silvercloud Linux - Networking 3 08-27-2005 07:29 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
adding win 2000 server domain controller, bind dns GraemeK Linux - Networking 6 08-23-2003 06:44 PM
Dns 2 Domain u4113072 Linux - Networking 3 10-08-2002 05:42 PM


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