[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

DNS Server -NAMED

Hi all

Is it a good idea to run the service NAMED for my webserver and to add the DNS lookup and Reverse lookup of my server in that server and put it in the list of to use nameservers?  The idea is to speed up my website.  If it's a good idea, then can you tell me how I add the information regarding my server in the configuration of named.

I have registered domain name that points to my server's IP
I have reverse lookup for IP that points to computername
I have MX for @mydomain.com that points to my server's IP


With kind regards


Ramses (x_terminat_or_3)
0
x_terminat_or_3
Asked:
x_terminat_or_3
  • 4
  • 4
  • 2
2 Solutions
 
wesly_chenCommented:
Hi,

   For webserver, this is NOT a good idea to put DNS server on it, especially for external webserver.
Because DNS is easier to be compromised (DNS poison, DNS querry flood....) and those cause the DOS (Denial Of Service).
You don't want your webserver up and down frequently.

   Separate web and DNS into 2 server will be better.

Regards,

Wesly
0
 
x_terminat_or_3Author Commented:
Yeah sure but I don't have the means for that at this time...
0
 
jlevieCommented:
With regard to DNS, the only performance gain that can be had for a web server is to make sure that "HostnameLookups Off" is set in httpd.conf. That prevents the web server from attempting a reverse lookup on the IP of a client. It is essential that the DNS servers for your domain are well connected and responsive, but that will generally be the case with any hosting organization or ISP.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
wesly_chenCommented:
Hi,

   jlevie said is right. However, I check the apache website
http://httpd.apache.org/docs-2.0/mod/core.html

   the directive "HostnameLookups" is OFF by default.

Wesly
0
 
jlevieCommented:
That is the default but it could have been set otherwise, which would adversely affect the web server's response time.
0
 
x_terminat_or_3Author Commented:
So it means that it's not necessary for me to run BIND?
0
 
jlevieCommented:
Not if the objective is just to increase the performance of your web server.
0
 
x_terminat_or_3Author Commented:
Ok Jlevie that's an answer and it's worth a pts split between Wesley and you, but can you just tell me when it would be necessary to run a nameserver?
0
 
jlevieCommented:
The times when it is appropriate to run your own name server are:

1. Your site is well connected (a T1 or better) and you have a number of DNS entires that could change at any time. Hosting your own DNS in this case shortens the time required for a change.

2. You have a firewall and are using a private network on the inside. To be able to have public names equate to private IP's for requests from within the firewall you need a private copy of the DNS.

3. You have a large number of machines on a local network and need to reduce the bandwidth consumed for DNS requests. Running a local DNS, perhaps as a caching only server, will do this.

4. Your ISP's name server is not reliable or they aren't willing to host your domain(s).
0
 
x_terminat_or_3Author Commented:
Thanks guys
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now