Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can someone point me a good tutorial of setting up the DNS server for Fedora 8?
I am currently have 3 machines in my LAN, one is Fedora (ip is 192.168.1.10) which is running apache+ssl. The other two machines are windows machines, one is a domain controller running dns and the other is the windows xp client machine.
From the windows client machine, I could go to the url like https://192.168.1.10/download/somefile.tar, but I'd like to setup the DNS server on Fedora so I could access the url using a domain name, like https://www.fake.com/download/somefile.tar. I've already generated the the certificate on Fedora for www.fake.com using openssl. I'm just not sure how to setup the DNS so I can use www.fake.com in the URL instead of its IP address.
Could someone point me a good DNS tutorial? Thanks.
Distribution: Fedora, Mandrake, Knoppix, Windows XP
Posts: 37
Rep:
I don't want you to think that I am an expert on DNS but if you are trying to access your Linux Webserver from your internal lan why don't you create a DNS record to your web server on the Windows DNS server? Or are you not using it as an internal DNS server?
1. Is fake.com the local domain name.
2. Is www.fake.com registered on a Public DNS server.
3. Is there access to the internet from the lan.
If the answer to all 3 is yes then:
1. You anly need to create an alias to "www" on your local dns server to the web server internal IP addess.
2. Make a Postrouting entry to your IP tables making the port 80 & 443 traffic to your web server come back into the local network rather than be sent out the gateway.
In the example below I am looking after both http & https traffic on my local lan.
10.70.70.2 is my webserver
10.70.70.1 is my gateway box
if your windows server is the domain controller, running DNS with active directory, it is not the best idea (though possible) to remove the DNS role from it.
in the windows server it is very easy to create a A record for www.fake.com 192.168.1.10
thanks for all the reply. I think I will add the record of www.fake.com (not a registered domain name) in the windows DNS server to make it working for now.
But I'm also very interested in learning how to setup the Dynamic DNS on Fedora. I need to setup a website on the Fedora later on.
register at dyndns.org or no-ip.com
download a client suitable for feodra (btw most soho routers have a built in dyndns client)
forward port 80 to your apache
It would probably be simplest to add your lan machines into Windows' machines hosts file (yes there is one in Windows just like linux). Much quicker to list 43 machines there than rune bind.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.