Server :: Resolv.conf Was Edited, Server Stopped Serving Websites?
Feb 21, 2010
I'll preface this by saying i'm by no means an expert on Linux. A competant beginner at most.We have a dedicated server, the 'resolv.conf' was changed, specifically the domain that was listed (this is the primary domain).I only became aware of this change, when we get into work on Friday and all our sites were down - I attributed this to DNS fault as if I changed my host file (I work on a windows machine) and specifically routed to the domains to the correct IP address, the websites were served fine.I tracked down the resolv.conf change by quizzing a collegue. I then switched the resolv.conf file back to it's original state - luckily a backup was made so I am 100% sure that the current resolv.conf is the correct one.
change was made Friday morning, around 9.30am (UK time). It is now 5.05pm (UK time). The original change was made sometime on Weds afternoon, and the sites stopped serving between Thursday night and Friday morning.Does anyone have any idea how long it should take for the fix to be picked up? Will it be picked up? I just started to think that the change can't be picked up due to some DNS related voodoo.
View 4 Replies
ADVERTISEMENT
Jan 10, 2011
I am having a situation where I do not have DNS server (the person who has that is not me) for a few websites which are running on a reverse proxy. I recently after having a long trouble shooting hours found that my proxy pass entries look as follows
Code:
ProxyPass /app1 http://192.168.1.3:8080/app1
ProxyPass / http://192.168.1.3
ProxyPassReverse /app1 http://192.168.1.3:8080/app1
ProxyPassReverse / http://192.168.1.3
If I use the entries as above then some one from internet is able to access the sites.But from within LAN people are unable to access it.
How ever if I use
Code:
ProxyPass /app1 http://site1.myserver.com:8080/app1
ProxyPass / http://site1.myserver.com
ProxyPassReverse /app1 http://site1.myserver.com:8080/app1
ProxyPassReverse / http://site1.myserver.com
then things work on LAN but from internet it is not accessible.What can be a solution in this case will putting things in resolv.conf do?
View 7 Replies
View Related
Apr 11, 2011
I am running an application that requires use of my /etc/hosts file. In it, I have my machine name and its LAN ip address. The program creates a service on a specific port, then attempts to connect to it based on the host name. So my hosts file has to be correct.I added the nameservers to resolv.conf and now my application will not run. My guess is that the computer is checking the name servers first, timing out then checking the hosts file.Is there a way I can tell the system to check the hosts file first, then DNS. I thought it should behave that way by default, but it does not appear to.
View 1 Replies
View Related
Jul 29, 2011
I installed vsftpd on my fedora 15 system. I tried to edit vsftpd.conf through gedit
(as root su - command). It showed an error message. I couldn't edit this file. Is there any way to revert my system to gnome 2.30(which is better to work ) from gnome 3
View 4 Replies
View Related
Jun 7, 2011
My PC running 11.04 was showing a blank screen after every 10 mins while watching BBC iplayer (with all the screensaver and power saver settings switched to over 1 hour). The picture returned when I moved the mouse but it was still annoying.
So I googled for a solution and found this page [URL]. Based on this, I did the following in terminal:
"sudo gedit /etc/X11/xorg.conf"
Then when the text editor came up, I deleted 'EndSection' from the xorg.conf file, and added the following lines:
Section "ServerFlags"
Option "blank time" "0"
Option "standby time" "0"
Option "suspend time" "0"
Option "off time" "0"
EndSection
My problem: upon rebooting the computer, I just got a purple screen with the Ubuntu logo, it went no further. I tried booting with the livecd and removing the lines I added, but it wouldn't let me save the file. I also tried booting into recovery mode but I'm not very adept at the command line navigation stuff, so I don't know how to find or re-edit the file.
View 9 Replies
View Related
Apr 23, 2010
I have one main subnet 192.168.50.0/24 with a defaultrouter 192.168.50.1 connected to the internet. I have an NFS server on that network. Everything is working as desired and machines are able to see each other and access the internet.
Now, I would like to add two more interfaces to the NFS server (running Slackware Linux), each on its own different subnet, say 192.168.51.0/24 and 192.168.52.0/24. The clients on those new subnets should also be able to access the internet (through the router 192.168.50.1). how to setup routing? Do I need any additional hardware router in between, or just a software configuration on the NFS server?
On a side note I have VLAN capable switches (couple of ProCurve 1800-24G) and would like to separate the three subnets using VLANs instead of using three separate switches.
View 1 Replies
View Related
Dec 24, 2010
I just did yet another fresh install of OpenSuse 11.1, (no DVD drive otherwise I would use the newer version), all updates have been performed, I installed apache2 and it's modules, php5 and some of the modules I needed, mysql, sshd for local only access, and webmin, postfix is used only for local mail between php scripts and the system, mainly because out-of-the-box, postfix is an open relay, and can take weeks to configure as an SMTP server, so I have to use php scripts that do not use a mail server, anyway.
The problem is, apache2 only seems to know how to serve php files, html files only get shown on ANY browser as source code not the contents.
I've been trying for 3 weeks,,, messing with this option, setting that option, and screwing up the system, hence reformatting and re-installing OpenSuse several times, so if anyone wants to try and get apache to serve html files properly and to have apache use mod_rewrite as default on ANY folder whether inside or outside the document root, I can give that person full ssh access. I've got to the point now, that I don't really give a damn what happens to the server.
What I should be able to do, is, leave the apache and php setting as default,,, upload either an html or php file to the document root and direct a browser to the address, and it'll work without changing a single item, the same is if that file has rewrite, it should work flawless, or if I upload an html or php file to a folder outside the doc root, I change the doc redirect to point to the folder, and it should work without changing anything else.
View 14 Replies
View Related
Jan 22, 2011
I wanted to save a bit of ram and so removed wicd from startup. I deleted rc.wireless.conf and edited rc.inet1.conf as per the instructions. A connection is made at startup but it seem to drop quite often ( not too hard to restart, but a bit of a pain ). I am running a k-2.6.37 with a zydas usb zd1121 chip
Quote:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
[Code].....
View 3 Replies
View Related
Aug 12, 2010
I have a domain, dns hosted, and apache serving up pages. this all works fine, so far. i even have a cms running. my confusion starts when i try to host a different site under a subdomain, ie. sub.mydomain.com.i have two vhosts in apache. one is mydomain.com and the directory is /var/www/mydomain.but, when i try to add another vhost like webmail.mydomain.com, and i try to put the root directory in /var/www/webmail, it doesn't work. when i try to access webmail.mydomain.com, i just get the site on mydomain.com.I feel like i am just missing something really simple here, but i have tried searching around for solutions to no avail.
View 4 Replies
View Related
May 3, 2011
I have Natty Narwhal and everything was working. Then I moved it to my HDTV, and I had overscan issues. Following some advice I found online, I edited /etc/X11/xorg.conf with new information including a ModeLine.
Upon restart, I get my BIOS screen, the Ubuntu splash, then... nothing. The display goes to sleep. I can ping the computer, and everything seems to work except I have no video.
I did backup my xorg.conf file, but I don't know how to get to it without a display. Hindsight tells me I should have given myself a way to remotely control my computer before messing with xorg, but you live and learn.
I've read online that there is a way from the login screen to get to Terminal without loading the desktop environment, but I can't get to the login screen.
I've also tried using a Linux LiveCD to access my filesystem, and that works to view files, but I have no root privileges.
Is there...
...a way to get to Terminal without loading the login screen?
...a way to give myself root access to my harddrive from a LiveCD?
...something else to try?
View 1 Replies
View Related
Jul 8, 2011
I tried to edit my xorg.conf to try and encourage Debian to handle my joypad better (stop recognising it as a mouse). However, it didn't work and i couldn't get back into X.So, i entered recovery mode and deleted the contents of xorg.conf,got back into X and then edited xorg.conf back to how it was.Right so far so good.Yet, now i cannot use the backlash key in keyboard shortcuts. I have a number of shortcuts set up to incorporate this key and they no longer work, neither in GNOME nor Openbox
View 2 Replies
View Related
Mar 18, 2010
A Linux (CentOS5.3) server is setup with apache reverse proxy. The reverse proxy server is opened to outside and an internal server is mapped to ProxyPass configuration. SSL certificate is also installed on the Apache reverse proxy server. The problem is, it is extremely slow in serving http requests through reverse proxy. There is no problem with server resources or bandwidth. When the internal server is directly accessed through Internet, there is no delay. The backend server and the reverse proxy server are also on the same switch (same subnet). When I searched the Net, there were recommendations to enable cache in Apache. I did so as follows in httpd.conf.
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
CacheDirLevels 5
CacheDirLength 3
</IfModule>
But still there is no progress. Do I want to enable cache in ssl.conf too? Or is there any other workaround to speed up Apache reverse proxy. Is there a way to check that caching is happening?
View 4 Replies
View Related
Aug 25, 2010
I'm taking over as a Linux admin where they use sendmail last week. I've done very little with email on linux, and haven;'t touched sendmail since 2000 so I am really out of my element.Basically the sendmail server for many months has had performance problems, disk, and load.Looking into it I found this doing a tail on /var/log/MaillogAug 25 17:11:49 web8 sendmail[1531]: o7OGF2VH002566: to=postmaster, delay=1+01:58:10, xdelay=00:00:00, mailer=relay, pri=2388694, relay=[xx.xx.xx.xx], dsn=4.0.0, stat=Deferred: [10.10.20.107]:No route to hostAnd that was all it was spewing, I edited the config files because xx.xx.xx.xx doesn't exist. And running m4, then restarting sendmail.It is still spewing out that message, but I do see some things connecting to the new yy.yy.yy.yy address. I even greped the entire /etc looking for the old machine.
View 2 Replies
View Related
Jun 18, 2010
My Debian workstation is on a predominantly Windows network. It is resolving internet addresses (i.e. www.google.com, etc) just fine. However it's not resolving any of the address of machines on the local network and the windows machines do not resolve the linux machines address either. All machines (linux and windows) can access each other just fine via direct IP reference.
My /etc/resolv.conf file has the following IP addresses listed:
127.0.0.1
10.1.1.111
10.1.3.4
10.1.1.111 is a netgear VPN/router that is the primary router for the LAN and maintains a VPN to a remote office 10.1.3.4 is the IP address of the Windows Primary Domain control on which the DNS server is running. That server is at the remote office. The system acts like it is completely ignoring anything I put in the resolv.conf file. From the linux X server I'm using "Network Setting" utility to make changes to the network configuration. This appears to work fine for things like switch between DHCP and static IP.
View 5 Replies
View Related
Nov 1, 2010
I use Fedora 13 (minimal installation), ISC DHCP server 4.1.1-P1. I'm running Fedora 13 too on a separate machine (minimal installation) with ISC DHCPclient 4.1.1-P1. My goal is to do some IPv6 testing. When I use the DHCP client manually (dhclient -6 -timeout 5 -d -v eth0), the client retrieves and installs a dynamically assigned IPv6 address.
Additionally, the client gets 1 DNS resolver address and 1 DNS search list. The resolver address and DNS search list always get written into /etc/resolv.conf. Perfect, exactly what I need. But when I do a "service network restart" or restart my system (which should trigger the same, as far as I understood), the DNS resolver addr and the search list get written into /etc/resolv.conf.save and the /etc/resolv.conf stays as before. How can I change this behavior? I don't need the .save file, I just want to have /etc/resolv.conf replaced by the latest DNS information.
View 2 Replies
View Related
May 30, 2011
I'm setting up virtual dev environments and I want the hostname.domain to be something specific, eg- "barney.local". However my /etc/resolv.conf file keeps getting nuked because i'm using DHCP. I placed this into my dhclient.conf:
supersede domain-name "localhost"
supersede host-name "barney"
but it didn't help. I'm not sure where I'm going wrong. How can I still use DHCP but configure that virtual environment to see itself as barney.local?
View 2 Replies
View Related
Apr 22, 2010
How can I keep /etc/resolv.conf static ... as in preventing it from being changed by the network manager ... without actually disabling the network manager (so wireless users can get their wireless setup that includes IP address, but leave the resolver configuration as is)?
View 1 Replies
View Related
May 8, 2010
I tried to setup a dyndns, and ever since I tried to get that setup, I can't access my webmin, or access /etc/hosts/resolv.conf. But I can still access my samba shares I had created before this happened.
View 5 Replies
View Related
Aug 26, 2011
I need help figuring out why my resolv.conf keeps changing to this, causing me to not be able to access the outside internet and only the local network.I thought I fixed it by getting rid of the loopback interface and adding in the eth0 interface in /etc/network/interfaces URl...And then things would work temporarily, and eventually the nameserver in resolv.conf would get reverted again.
View 1 Replies
View Related
Mar 4, 2010
I am using kubuntu 9.10 64-bit on AMD M500 machine i removed networkmanager (because i had frequent disconnect) and installed wicd but the /etc/resolv.conf had a comment on top which says that it is to be configured by networkmanager (still) I put the DNS in there manually and it works What to put in there so that it uses DHCP ? Maybe its set to be not written by anyone other than networkmanager ??
View 1 Replies
View Related
May 11, 2009
As you may well be aware the resolv.conf search appears to be limited to 6 domains. I need 7 One thing I noticed is that if you run nslookup on a short name that is in the 7th search it does work but ssh does not. I'm guessing that nslookup is actually reading the whole file and isn't limited.
View 7 Replies
View Related
Jul 1, 2010
When I boot my computer (Ubuntu 9.10) /etc/resolv.conf is written as:# Generated by Connection Managernameserver 10.33.8.11 10.33.4.136However, if I try to do anything from the command line, I get an error like:host: parse of /etc/resolv.conf failedI then need to edit /etc/resolv.conf to:
# Generated by Connection Manager
nameserver 10.33.8.11
nameserver 10.33.4.136
[code]....
View 2 Replies
View Related
Sep 1, 2010
As I understand it, /etc/resolv.conf is rewritten at boot time by NetworkManager (a script?)I have a problem in the order the nameserver entries are written by my system (F13). This is:
Code:
nameserver 192.168.1.1
nameserver xxx.233.0.4
[code]....
View 11 Replies
View Related
Dec 30, 2010
I've recently installed Proftpd to host for someone for a couple of hours.
With the default config it works however when taken the comments out and edited for anonymous, proftpd fails to start
This is the default config file which works if you have a user and password for my machine, but anonymous wont work (when the comments were removed).
View 1 Replies
View Related
Sep 2, 2011
I have been trying to follow this guide for dnssec http://wiki.debian.org/DNSSEC in which at the very last it gives that you should change the value in /etc/resolv.conf to 127.0.0.1 Now in mine, network-manager overwrites the values. Is there a way to stop network-manager from overwriting the values in /etc/resolv.conf ?seems the simplest is to write-protect it. chattr +i /etc/resolv.conf
View 8 Replies
View Related
May 28, 2010
On my computer (running debian lenny), the network is configured this way (this is a minimal example):/etc/resolv.conf:search bar
View 1 Replies
View Related
Dec 30, 2010
I "fixed" my Lenny home server bind9 configuration because my resolv.conf was always overwritten loosing configuration. The fix involved adding the following to /etc/resolvconf.resolv.conf.d.base.
##base file at /etc/resolveconf/resolveconf.d/base
nameserver 127.0.0.1
nameserver 192.168.1.4
[code]....
View 1 Replies
View Related
Jun 4, 2010
I'm trying to set this open-nic-dns (69.164.208.50) as default (instead of 192.168.2.1 - router-ip). So if I try to edit /etc/resolv.conf to this nameserver - but if i restart it's 192.168.2.1 again.
View 3 Replies
View Related
Jan 4, 2010
I'm having problems with my resolv.conf file. Every time I reboot my computer it goes blank and I have to re-type it before I can get on the network. How do I prevent it from being overwritten?
View 6 Replies
View Related
Feb 4, 2010
I am using KVPNC (recommended by the VPN owner) on Ubuntu 9.10 using my Universities direct Ethernet connection.
I have downloaded all the .ovpn scripts to a directory. I have downloaded KVPNC from the repository (apparently for 9.10 you do not download from the KVPNC website).
I then use sudo kvpnc and select a server (since there are many based on the .ovpn files).I click connect and the script works and tells me I have a connection. See below for an example. All appears to work.
But when I actually load any Internet program e.g. Firefox it cannot find a website.This happens for all servers which have different locations around the world.When I disconnect KVPNC I still have no access. I have to remove the Ethernet cable before it works again.
debug: Connect try requested, profile: Stockholm, type: OpenVPN
debug: openvpn: /usr/sbin/openvpn
debug: Support for TUN/TAP found (compiled into kernel or kernel module already loaded).
debug: Default interface: "eth0".
debug: IP address of default interface: "my IP address".
code....
I realise there are errors e.g. the /etc/resolv.conf must be a symlink but have tried doing this and still have exactly the same issues.
View 2 Replies
View Related