/etc/resolv.conf Rotate

Sep 16, 2007

how to set up /etc/resolv.conf to use the rotate option.

I've tried:
options rotate
options timeout:2
nameserver X.X.X.X
nameserver X.X.X.X

Yes using NSLOOKUP and DIG both always return results from the first name server if it is up (no rotation) and when it is down, the timeout is the default 5 seconds (not the 2 that I specified) before going to the second name server.

View 1 Replies


ADVERTISEMENT

Resolv.conf

Apr 21, 2008

I have a new VPS server in which I did not configure the /etc/resolv.conf file. My VPS has three domains that are all working and resolving fine. But I keep getting an email from my provider that says this:

The hostname (v6.volumedr.com) resolves to. It should resolve to xx.xx.xx.xx. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if youbelieve everything else is correct.

You may be able to automaticly correct this problem by using the Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager.

Why does the actual server hostname need to resolve via dns?

I have confirmed that /etc/hosts looks good and I added an A record in my WHM for each domain. Do I need to configure the /etc/resolv.conf file too? Do I need to list my three domains and my server hostname(v8) and then my two primary DNS servers?

View 10 Replies View Related

DNS & Resolv.conf

Feb 15, 2007

I'm supposed to be completing a server migration on Saturday night. But I have one teeeeny tiny problem....

I have no DNS/nameservers provided by my new DC for the resolv.conf.

They have them - but I don't think they operate like true root nameservers or something. I keep getting a ton of Unroutable Mail Domain errors for server email that should be leaving the new box.

When the resolv.conf was set to use the 4.2.2.x dns servers - it was working fine.
And I don't know if it's ok to just keep it using those or not?...

What other DNS servers can I use for the resolv.conf? Any DC's nameservers? Are there "public" ones available somewhere?

View 9 Replies View Related

Resolv.conf

Feb 5, 2007

Is it better to put the IP of your server on the first line followed by the dns servers from the datacenter? And, how do you make the changes go in effect? I assume you just restart bind?

View 4 Replies View Related

Ip Addresses On Resolv.conf

Jan 13, 2008

i own a dedicated server with bind running i have assigned 2 IPs for my nameservers.

what IPs should resolv.conf contain? should it have my nameserver IPs or that of hosting provider?

View 5 Replies View Related

Etc/resolv.conf - Secondary Ns

May 20, 2008

My sites all respond very slow (VPS) at the initial loading, that's why I try to check all dns settings.

My current resolv.conf
nameserver 64.235.32.203
that is the ns of my hosting provider.

Would I have an advantage if I add another and if so can I simply add my own nameservers?

View 8 Replies View Related

Domain Name Server (DNS) - Resolv.conf Resetting After Reboot

Apr 23, 2007

I have a VPS (ConetOS 4.4, OpenVZ), it all works fine, however on reboot, the resolv.conf gets reset to some nameservers that are no longer in use, How do I change this so after a reboot it uses the nameservers I am using now?

My current resolv.conf looks like this:

nameserver 85.234.133.209
nameserver 85.234.144.209

View 2 Replies View Related

DNS Issues Rndc.conf & Named.conf

Apr 8, 2009

It started with this error:

Bind reloading on server01 using rndc zone: [ns1.mydomain.net]
Error reloading bind on server01: rndc: connect failed: 127.0.0.1#953: connection refused

so i did the obvious checked the csf firewall to see if port 953 was enabled and it was

so i took a look at rndc.conf

Code:
root@server01 [~]# nano /etc/rndc.conf
#start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
};

options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
#key "rndc-key" {
# algorithm hmac-md5;
# secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
#};
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf
Then i took a look at named.conf

Code:
options {
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:
*/

//query-source port 53;

/* We no longer enable this by default as the dns posion exploit
has forced many providers to open up their firewalls a bit */

// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
pid-file "/var/run/named/named.pid";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
/* memstatistics-file "data/named_mem_stats.txt"; */
};

logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the 'named.run' file in the $directory (/var/named").
* By default, SELinux policy does not allow named to modify the /var/named" directory,
* so put the default debug log file in data/ :
*/
channel default_debug {
file "data/named.run";
severity dynamic;
};
};

// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
//
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
//
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.

view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
*/
match-clients { 127.0.0.0/24; };
match-destinations { localhost; };
recursion yes;

zone "." IN {
type hint;
file "/var/named/named.ca";
};

/* these are zones that contain definitions for all the localhost
* names and addresses, as recommended in RFC1912 - these names should
* ONLY be served to localhost clients:
*/
include "/var/named/named.rfc1912.zones";
};

View 5 Replies View Related

Rotate Log

Jul 27, 2007

what the purpose of rotating log files is and how often should I do it?

Reason I ask is I installed Logview (www.logview.org) on my server today, and noticed it was there. I also noticed my mail log was 850 megs, which is a lot in my opinion.

View 2 Replies View Related

Rotate Logs

Feb 13, 2007

I have Apache making seperate log files for each of my virtual hosts and putting them in /home/vhostname/log. Rotatelogs makes a new log every 24 hours, but the logs quickly add up and since the sites are fairly busy the logs are at times over a gb. Is there any way to make rotatelogs delete the log files after two days? Or should I just use newsyslog?

View 2 Replies View Related

Resolv Entries (space Separated)

Dec 18, 2008

Resolv Entries (space Separated)

I just got a very cheap box intended to learn HyperVM/OpenVZ. just got it tonight and got 5 IPs. So I add those 4 IPs in the Resources > IP Pools section. I don't know what to add in the Resolv Entries (space Separated) field.

if this is not the correct forum for this, please be free to move them.

View 6 Replies View Related

After A Resolv Edit The Horror Story Start

Aug 2, 2008

I have 2 servers hosted with SoftLayer, In 22 Jun, I had reboot my servers, one of them didn't start and then SL said that it's was a reslov problem and we fix it, after that day, I start seeing all my websites traffic start go down , I check Google Analytics and the visitors number is going down everyday, I open a ticket and say that to SL and i think it's was a DNS problem they tell me after a lot of replys that they fix it and i must wait for 72 hours that need for the dns to be updated worldwide, I didn't say that SL support is bad no they are very very helpful support and many thanks to them, but i wanna to listen to your opinions here about my problem, and from where it's?

View 4 Replies View Related

How Can I Setup Logrotate To Rotate Domlogs?

Jun 30, 2008

i have a little issue with the domlogs folder.

I should empty this files but i don't know if it is possible to do without reboot Apache.

a) how can i setup logrotate to rotate domlogs?
And if it is possible:

b) how can i setup logrotate to rotate domlogs without restart apache?

I have already setup whm-> tweak settings to delete old domain's access logs after stats run and the whm is setup to generate statistics every 20 hours.

But every day the site is slowly because the domlogs are too big.

View 6 Replies View Related

Plesk 11.x / Linux :: Maillog Didn't Rotate?

Aug 17, 2014

I'm working with OS CentOS 6.4 (Final) Panel version 11.0.9 Update #61 and using qmail as my default mail server.

Now I checked my maillog (/usr/local/psa/var/log/maillog) but It didn't maintenance daily as usual.

View 12 Replies View Related

Plesk 12.x / Linux :: Error During Automatic Backup - Unable To Rotate Dump

Jun 20, 2014

Ii got the following error during automatic Backup:

Unable to rotate dump: The dump rotation is failed with code '1' at /opt/psa/admin/bin/plesk_agent_manager line 1041.

I used Plesk Version 12.0.18. The Backup is created, but i following this error Message.

View 8 Replies View Related

Plesk 12.x / Linux :: FTP Backup Fails Error - Unable To Rotate Dump

Dec 12, 2014

On our Centos 6.5 Vps with Plesk 12.0.18 the scheduled backup to a personal repository ftp fails every time with this error:

ERROR: () Unable to rotate dump: The dump rotation is failed with code '126' at /usr/local/psa/admin/bin/plesk_agent_manager line 1041.

ERROR: () Can't upload file 'clients/vorrei-cloud/domains/vorrei.org/backup_vorrei.org_info_1412130307.xml' to ftp. Error code: 1

On the target server there are nothing.

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Rotate Dump - The Dump Rotation Is Failed With Code 121

Feb 4, 2015

I have enabled the backup rotation of some websites to my "Personal FTP Repository", the problem is that Plesk is unable to do it due this error:

Code:
Unable to rotate dump: The dump rotation is failed with code '121' at /usr/local/psa/admin/bin/plesk_agent_manager line 1041.

I read here [URL] .... that it should be solved but I have the version 12.0.18 Update #33, why does it persist?

View 5 Replies View Related

Coppermine "crop And Rotate" Issue

Aug 2, 2008

After moving my sites to a my own dedicated server I have some problems with the "crop and rotate" at my coppermine gallery. I get this error:

"Critical error
There was an error while processing a database query"

And this is the error message I got when I enabled the debug mode:


While executing query "UPDATE cpg149_pictures
SET pheight = ,
pwidth = ,
filesize = 4096,
total_filesize = 221121
WHERE pid = '4581'" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
pwidth = ,
' at line 2

Some serveral people already tried to fix it but it didn't work.

View 1 Replies View Related

Limits.conf

May 28, 2009

How can I limit the amount of processes a user can have open at one time?

View 1 Replies View Related

Pureftpd.conf

Jun 16, 2009

I installed pureftpd from source and everything is working fine but there is no oureftpd.conf file anywhere, it should be in /etc/pureftpd.conf.

How to get a conf file of pureftpd where I could turn Anonymous login off?

View 7 Replies View Related

Nginx Conf

Jun 17, 2009

I have nginx conf which works perfectly fine with ip adress,but when i put domain then php for some reason no longer works,i getting download php file situation.

Here is main conf file:

#######################################################################
#
# This is the main Nginx configuration file.
#
# More information about the configuration options is available on
# * the English wiki - http://wiki.codemongers.com/Main
# * the Russian documentation - http://sysoev.ru/nginx/
#
#######################################################################

#----------------------------------------------------------------------
# Main Module - directives that cover basic functionality
#
# http://wiki.codemongers.com/NginxMainModule
#
#----------------------------------------------------------------------

user nginx;
worker_processes 5;

error_log /var/log/nginx/nginx-error.log crit;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;

pid /var/run/nginx.pid;

#----------------------------------------------------------------------
# Events Module
#
# http://wiki.codemongers.com/NginxEventsModule
#
#----------------------------------------------------------------------

events {
worker_connections 2048;
}

#----------------------------------------------------------------------
# HTTP Core Module
#
# http://wiki.codemongers.com/NginxHttpCoreModule
#
#----------------------------------------------------------------------

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] $request '
'"$status" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log off;

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

# Load config files from the /etc/nginx/conf.d directory
include /etc/nginx/conf.d/*.conf;

#
# The default server
#
server {
listen 81;
server_name main.main.net;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
}

error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ .php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ .php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /.ht {
# deny all;
#}
}
}

View 1 Replies View Related

Lighttpd.conf

Jun 23, 2008

I'm about to set my own permalink rules in Wordpress.

My VPS is running LxAdmin on CentOS and I have lighttpd installed. I've read I need to edit lighttpd.conf but I don't know which application I should use. The file is located in /etc/lighttpd/ but have no idea how to gain access.

View 7 Replies View Related

Lighthttpd Conf

Oct 25, 2008

I don't have location/ in conf file where should this be placed under or above what content should this be added?

View 4 Replies View Related

Set Value For Httpd.conf

Jun 22, 2007

I have a box: Dual Opteron 248 - 2GB RAM, Centos 4.x, Cpanel / WHM, does anyone can help me set value in httpd.conf for better?

Set "Timeout"
Set "KeepAlive"
Set "KeepAliveTimeout"
Set "MinSpareServers"
Set "MaxSpareServers"
Set "MaxRequestsPerChild"
Set "HostnameLookups"

I've got many emails from cpanel that httpd fail, check in apache logs i cant find any error

View 1 Replies View Related

Where Is /etc/named.conf

May 31, 2008

i am running centos 5 with bind9 and there is no /etc/named.conf. All i could find is /etc/named.caching-nameserver.conf

i am planning to runs dns nameserver for my domain. where to do zone entries?

View 9 Replies View Related

Httpd.conf

May 1, 2007

I tried that recently to install PHP 4 & PHP 5 on the same server - without any luck, i stumbled into a massive hole.

the existing httpd.conf was replaced and there was a backup made - stupid me accidently deleted this backup file and was left this a non-working copy of httpd.conf - if anyone can help me it would be much appreciated.

root@server1 [~]# /etc/init.d/httpd configtest
Warning: DocumentRoot [/dev/null] does not exist
Syntax OK

View 5 Replies View Related

Limits.conf

Apr 17, 2007

I would like to set some hard limits for some developmental testing I am doing using quota tools and what not. In limits.conf I have the following:

--------
@dev hard cpu 0.30
--------

As far as I can see, this would limit all users in the group "dev" from using more than half a minute of CPU time, am I correct?

Assuming I am, once I write these changes no limits seem to be enforced. Are these values cached in the memory and a reboot is needed for them to take effect?

View 1 Replies View Related

Deleted /etc/named.conf?

May 30, 2008

i have cpanel running on my dedicated server and i have accidentally deleted /etc/named.conf

how to recover it? will cpanel maintain backup or of some sort? i havent stopped bind so my sites are working till now.

View 9 Replies View Related

Httpd.conf To Set My Virtualhosts

Nov 1, 2009

I always used httpd.conf to set my virtualhosts and it worked perfect. Untill now.

All domains I point to my IP get's pointed to first virtual host folder. And it doesnt care about other settings. My config:

Code:
<VirtualHost *>
ServerSignature Off
ServerAlias omgwtf.com
ServerAdmin rytis@s.lt
DocumentRoot /var/www
ServerName blahblah.com
Options -Indexes
</VirtualHost>

<VirtualHost *>
ServerSignature Off
ServerAlias blahblah.com
ServerAdmin rytis@z.lt
DocumentRoot /var/www/epo
ServerName blahblah.com
Options -Indexes
</VirtualHost>

And it doesnt care about that I set xyz.com to /var/www/epo, it just loads /var/epo.

I have restarted apache.

View 3 Replies View Related

CSF Conf Settings On New Version

Jun 4, 2008

I just installed a new version of CSF again on my server.

Based on the article and tutorial that I read, I do not have to change anything much on the csf.conf if I am installing it for WHM/Cpanel server.

I notice new version 3.33 has new function such as synflood and so on, can someone tell me if I need to change any settings inside my csf.conf other than disabling the testing = 0 on a fresh new cpanel server?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved