How to setup a simple DNS server to answer just for one name and forward all the rest?
location: linuxexchange.com - date: May 7, 2011
I would like to setup a small Linux (Ubuntu) server for a school project. This school server should forward all the request to the primary DNS server of the network and reply with an IPv6 address when asked for Google.com
How can I do this?
How to clear the cache of nginx?
location: linuxexchange.com - date: November 12, 2012
I use nginx to as the front server, I have modified the CSS files, but nginx is still serving the old ones.
I have tried to restart nginx, to no success and I have Googled, but not found a valid way to clear it.
Some articles say we can just delete the cache directory: var/cache/nginx, but there is no such directory on my server.
What should I do now?
DNS A Record problem, how do I flush the server side DNS records? [closed]
location: linuxexchange.com - date: August 18, 2011
Around 24 hours ago I set a new IP address for the A record on my website and it appears to be working well by pointing visitors to that new IP address. But, sometimes it still points users to the old IP address which is now set up as a restricted access test environment. How can I go about ensuring that only the new DNS A record are sent to clients? How can I refresh/flush the DNS on the server?
EDIT: Can one lower the timeout BEFORE the IP change so that they flush the old one sooner? How?
android dns cache clear
location: linuxexchange.com - date: January 11, 2012
I have created an application which pings some webpage and sends sms in case it fails.
But when the DNS is not working this application is not sending sms because the IP of the webpage ex. www.google.com is saved into the dns cache and my application is still using this ip and as a result i am not notified about the problem.
I have tried the methods below to delete this cache files but no success :
static int clearCacheFolder(final File dir, final int numDays) {
int deletedFiles = 0;
if (dir!= null && dir.isDirectory()) {
try {
for (File child:dir.listFiles()) {
//first delete subdirectories recursively
if (child.isDirectory()) {
deletedFiles += clearCacheFolder(child, numDays);
}
//then delete the files and subdirectories in this dir
//only empty directories can be deleted, so subdirs have been done first
//if (child.lastMo
Ask a DNS server what sites it hosts and how to possibly prevent misuse
location: linuxexchange.com - date: April 17, 2010
I've got a server which I host my company website as well as some of my clients. I noticed a domain which I created, but never used, was being attacked by a poke and hope hacker. I imagine that the hacker collected the domain from either hitting my DNS server and requesting what domains are hosted.
So, in the interest of prevention and better server management, how would I ask my own DNS server (Linux CentOS 4) what sites are being hosted on it?
Also, is there a way to prevent these types of attacks by hiding this information? I would assume that DNS servers would need to keep some information public, but I'm not sure if there is something that most hosts do to help prevent these bandwidth wasting poke and hope attacks.
Thanks in advance.
UPDATE
I realized something in reviewing this further, I saw that in this particular case the attack was not brought on by DNS queries (what ever it would be called), rather a dedicated IP. The account I was concerned with hosts a database for a m
How to move all zones to a new Bind DNS Server
location: linuxexchange.com - date: January 18, 2012
Existing Server = BIND version 9.1.3
new Server = BIND version 9.3.4
How can i move all zones records to new server? I tried moving them by coping the files and changing configuration file on new to match and zones did not resolve, no resolution.
Is there an smooth way to just transfer all zones to this new server?
How to setup zone for DNS server (bind)?
location: linuxexchange.com - date: May 4, 2015
We are using DNS server 159.226.8.6 now,and then I added some machines in our LAN,
such as
192.168.1.115 node115
192.168.1.116 node116
I installed bind in 192.16.1.110
How can I setup a DNS server for these local host and also get public ip resolved from 159.226.8.6?
Is it right to setup a zone "." from those node115 servers?
How to find DNS server address for PPPoE while installing Gentoo?
location: linuxexchange.com - date: April 16, 2014
I'm installing gentoo. I ran pppoe-setup
Entered PPPoE username
Entered right interface
Demand value = no
Enter DNS information here: (I don't know it so I left it blank)
Firewalling = STANDALONE
After this when I type pppoe-start it connects.
ping www.google.com gives unknown host. But pinging the ip address works just fine.
How do I find DNS server address while installing? I tried dhcpcd ppp0 but /etc/resolv.conf file is still empty.
UPDATE Ubuntu and other distros doesn't ask me for DNS address and just works fine. So I'm assuming there should be a way.
How to Clear buffer/cache memory
location: linuxquestions.com - date: January 27, 2013
Hi,
I have redhat 5.3 64bit. it has kernel 2.6.18-308.13.1.el5.
it has showing all memory used in chache.
[abc]$ free -m
total used free shared buffers cached
Mem: 24103 23965 137 0 16 2641
-/+ buffers/cache: 21308 2794
Swap: 8001 4176 3824
.
please help me to get the memory in use.
How to Install & configure DNS server in Red Hat Enterprise Linux 6
location: linuxquestions.com - date: June 11, 2015
Hi
I want to configure DNS server in RHEL 6.0
I had tried many solution but I cant configure Dns. please give me solution to install dns server
step by step installation and configuration.
please wait...
Page: 1 2 3 4 5 6 7 8 9 10