Hot answers tagged

7

You would need the following DNS entries in your zone file would do the job. The wild card entry should be the last. example.com. A IP_ADDRESS_OF_STATIC_SERVER www A IP_ADDRESS_OF_STATIC_SERVER * A IP_OF_APP_SERVER


5

No you don't need to have recursion on for authoritative DNS servers. Depending on who you ask it's even considered good practice that (if possible) your authoritative server not be recursive as it's a line of defence against some DoS attacks. (Cisco's document is here for example) A sample from my domain is below (Server is running Bind 9 and is non-...


5

Probably it means the changes weren't propagating from the master server to the slave servers. In many high-intensity DNS environments, changes are made on a restricted server not actually serving end-users, then replicated out to the actual client-facing DNS servers. Sometimes these changes aren't replicated successfully...


5

My first suggestion would be to ensure you are fixing the right problem. Track your memory usage over a reasonable time frame and see how high it goes (and if you can correlate this to something such as increased traffic). If you already have some monitoring in place (e.g. Munin) you should be able to see memory trends Otherwise, use sar (e.g. if you ...


4

Figured it out. If you add a directory at ~/.php/5.3/ and then put a file called phprc in it with the following line in it extension=phar.so then the phar extension gets loaded.


4

The registrar is the party who the domain has been registered through. Essentially they are the ones who filed the registration information and who ensure that the customer can delegate the domain name to their desired nameservers. A registrar does not need to run any nameservers at all, so looking at the nameserver names is not generally a good way of ...


3

I found you have to put some more lines in the phprc file for it to work in FastCGI mode extension=phar.so detect_unicode = Off phar.readonly = Off phar.require_hash = Off suhosin.executor.include.whitelist = phar


3

Here is an manual how to install Jenkins/hudson on debian. Main page jenkins-ci.org


3

I just wanted to say explicitly what I did to make my system more like vanilla/upstream Debian. sudo apt-get install debfoster Change repositories. Update /etc/apt/sources.list with the latest Debian goodness. sudo apt-get update remove the crappy Dreamhost meta packages en massé: dpkg --get-selections 'ndn*' | awk '{if ($2 == "install") { print $1 } }' | ...


3

It looks like they just added their own archives in addition to "standard" lenny. You could probably just remove the "newdream" servers from the file along with (potentially) the backports and debian-multimedia servers, add a normal lenny mirror, apt-get update and then install the packages that you want. If the ndn packages were designed right, they ...


3

"DNS Getting Stuck" means that the support person you talked to is clueless. In all likelihood, the record was probably never entered into their DNS servers or the DNS process was hung and needed rebooting. Remember that next to ISPs, web hosts tend to have the least competent front-line staff and have seared consciences when it comes to lying. If you had a ...


3

The PHP email function returns true if the mail subsystem of your server (sendmail for example) accepts your message for delivery. However, the mail may not actually be sent by sendmail if it isn't configured to do so (or it may be trying to send mail and failing). Look on your server in the /var/log/maillog or whatever log file your mail server is sending ...


2

Authoritative servers should NOT be configured to offer recursive service. Not even to work around a potential Microsoft bug. I can't quote chapter and verse at the moment (if I find it I'll update). However this is very much the accepted "best common practise" for operation of DNS servers. If some resolver in your lookup chain is returning SERVFAIL then ...


2

Dreamhost uses powerdns (ugh), just as bad .. but Windows recursive resolvers do indeed suck. The question is , why are the Windows dns boxes at your client sites getting SERVFAIL? They shouldnt be. And, the above poster is correct - if you're authoritative to a domain, you can have it cname, A, fail, you name it, to any domain/ip (you don't have to know ...


2

You can use pear upgrade to upgrade PEAR itself: pear upgrade PEAR or: pear upgrade-all


2

Who knows except Dreamhost? Who knows except Dreamhost? Who knows except you? You have the contract and the given limits. If 280 accesses are above the limit then yes. Not after it got killed. While running you can see several information of a PID under /proc/$PID. For example /proc/$PID/cmdline.


2

In your Linode manager, click on the Linode you wish to edit the rDNS for, Click on Remote Access tab (Under the "Linodes Node Balancers" menu, to the right of "Dashboard". A list of your Public IPs will display, and select "Reverse DNS". On this page, you will see a text box asking for hostname, here you would place "foo.example.com" Hit "Look up" and ...


2

The bit where you asked for a script to "...count the calls in each /logs/*/http/access.log, do an descending sort and show me the top 10 across domains." can be achieved with this: grep -o " /[^ ]*" /logs/*/http/access.log | sort | uniq -c | sort -rn | head But you could get the same information out of AWStats or Google analytics. It's really just a ...


2

The chmod 744 means that your htaccess is accessible to whomever owns the file. Is that file owned by www-data? If so, I'd suspect your own PHP code is being used to compromise the data. Changing your passwords will not help you if your sshd or other things have been trojaned. Do you own this server? (or is it hosted, virtual or leased?) What distro are ...


2

Oh, why don't I read documentation until the end. Dreamhost wiki has a guide for setting up RVM. The last part tells about setting up a reverse proxy, which solves my problem.


2

Take a look at your Apache error logs after starting up Apache. There should be a line like the following: [Sun Apr 29 06:57:07 2012] [notice] Apache/2.2.14 (Ubuntu) Phusion_Passenger/3.0.11 mod_ssl/2.2.14 OpenSSL/0.9.8k configured -- resuming normal operations What it says exactly depends on your Apache installation but it should tell you at least which ...


2

You need a own IP for each SSL-domain. You can of course have one SSL-site plus multiple non-ssl sites on a single IP. There is the option of using Server Name Indication, but since it's only implemented in a minority of browsers it is not a real choice.


2

You might need to brush up on your DNS knowledge a bit but regardless there are two ways to point your domain name to a server: You manage the DNS Their server manages the DNS If you're DNS registrar (you) will provide a name server to answer queries about your domain then you need to setup NS records. NS records for a domain tell the client who to ask ...


2

You need to install your SSL certificate at Heroku. The very abbreviated process is: heroku addons:add ssl heroku certs:add server.crt server.key


2

How should the client (browser) know, that .nl is an alias of .com? Because this is not defined anywhere you need to explicitly specify this by having this information inside the certificate, that is use a certificate which is valid for all your domains you own at the same time.


2

Use SSH protocol version 2. 1 & 2 use different private key formats, SSH 1 is also almost 10 years old.


2

The main issue is here: Event Log: Server refused our key This can be caused by incorrect permissions on .ssh/authorized_keys, or an invalid key. The permission can be solved using this: chmod -R go-rwx ~/.ssh The other possibility is the wrong key. You must append the public key on ~/.ssh/authorized_keys, not the private key. Check if the correct ...


1

Problem solved, it's actually Drupal related. There's no issue with the way the extension was installed but the notification in Drupal doesn't disappear. leading you to believe that the problem hasn't been fixed. IMAP Enabled Mailhandler requires that PHP's IMAP extension is enabled in order to function properly. With a closer look, I could see that ...


1

When you are using a Git repository as a central repo (as you seem to be), you generally should not have a working directory on that repo. The reason for this is listed in the error you mentioned: pushing into a branch which is checked out can cause the working tree to become out of sync. If the people you are sharing with can use Git, then you instead can ...



Only top voted, non community-wiki answers of a minimum length are eligible