Sunday, February 10, 2013

how do i make a DNS server in linux?

linux dns server
 on Manually change DNS server in your PC (Windows XP,Vista,7,Linux,Mac OS ...
linux dns server image



NULLNULLNU


Alright.. so at this point my site IS online as http://24.235.139.5/ now what i want to do is change the nameserver of my domain www,socioscape.net to that IP so that people basically just type in socioscape.net and connect to my server pc. my apache appears to be set up right, i'll post my apache configuration..

NameVirtualHost 192.168.1.100:80


<VirtualHost 192.168.1.100:80>
ServerName 24.235.139.5
ServerAlias www.socioscape.net
ServerAdmin jaiden@socioscape.net
Redirect permanent / http://www.socioscape.net
</VirtualHost>
<VirtualHost *:80>
ServerName 24.235.139.5
ServerAlias socioscape.net
ServerAdmin jaiden@socioscape.net



Answer
You don't need to make a DNS server - the fact you got the domain socioscape.net means somebody else is already providing DNS service for the domain. You need to update your DNS entries with them. It appears that you've registered the domain with launchpad.com - you'll have to talk to them about it.

DNS caching on linux server for perf-improvement?




fixedinsea


Background:

I have a CGI script (served by Apache on Linux) that gets called about once per second or more on my web-site. This script calls (via perl LWP) a webservice on an external site (see http://gisdata.usgs.gov), parses the results and returns a subset of them.

Problem:

It usually returns pretty quick (<200ms), but sometimes there is 1+ seconds lost in just resolving the IP of the domain of the 3rd party web-service.

Solutions?

I could hard-code the IP, but that's always error-prone, there's got to be a better way. Plus they're using a load-balancer, so I don't want to target one IP if they expect the traffic to be balanced.

What I want to avoid is the round-trip to my ISP's name-server for *each and every* request to resolve the same domain.

I think I could run bind on the server, and use that to resolve, but is there a simpler way? An app I can run in the background that will just keep track of commonly-looked-up DNS names?



Answer
it's not perl it's not apache.... dns caching is tricky... I know it can be managed but I don't know enough to shoot from the hip.

But, you can simply add the gov site with which you are concerned to your /etc/hosts file and bypass the dns... of course if our government moves, you will have to update that file... but since you know perl... you can do a lookup ever hour or day and fix the hosts file!


the time difference is the lookup vs using the cached address.

depending on the kind of load balancing they are doing, they may have just 1 outside address, then the route to various inside addresses.

Also, you could do your own dns... HA HA!

How can I make Linux server show up in Active Directory DNS?




booleanyes


I have set up a network where we are using Windows Active Directory for the Domain Controller, DHCP, DNS, etc.. All the windows servers register in DNS when they join Active Directory. But being that we won't register our Linux server in Active Directory, how can I make a DNS record appear in Windows DNS so people will be able to reach my Linux mail server through its domain name?


Answer
Point your Linux DNS settings at the AD DC and in DNS applet create a Host A record.




Powered by Yahoo! Answers

No comments:

Post a Comment