How to setup BIND DNS to retrieve all non authoritative queries from another server
location: linuxexchange.com - date: September 26, 2013
Background:
I have a home network with a few PC's/equipment and a cheap gateway router which does DHCP, DNS internet routing, etc.
IP addresses of devices on my network:
- cheap ASUS gateway router 192.168.1.1
- centos host with BIND installed 192.168.1.101 (I would like to name
CVDEV.beraben.internal)
I installed BIND (centos) on one of my local hosts because I want it to resolve names for devices on my local network.
I would like to setup BIND DNS to operate in the following way.
Bind will provide an answer for the hosts on my local network (configured in the zone file seen below)
Any requests for other hosts i.e. on the internet should be serviced by my ASUS router. (as it was before i decided to install BIND)
Here is the named.conf and zone file with my attempt on how this can be done. It works with the local hosts setup in the zone file but does not work for resolving internet hosts.
Can someone please point out what is wrong?
options {
listen-on port 53
How to clear scons cache? CheckLibWithHeader returns “no” first time called, “yes” second time
location: linuxexchange.com - date: October 8, 2014
I have a SConstruct file that is checking for the Google protobuf library, like so:
main['HAVE_PROTOBUF'] = main['PROTOC'] and \
conf.CheckLibWithHeader('protobuf', 'google/protobuf/message.h',
'C++', 'GOOGLE_PROTOBUF_VERIFY_VERSION;')
I noticed that this call to CheckLibWithHeader was returning "no". I was doing some debugging of the script, and it became apparent to me that subsequent identical calls to CheckLibWithHeader returned "yes". When I put an identical line in the SConstruct file immediately following the one above, the output was as follows:
.
.
.
Checking for accept(0,0,0) in C++ library None... (cached) yes
Checking for zlibVersion() in C++ library z... (cached) yes
Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... (cached) no
Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... (cached) yes
Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... no
Checking for clock_nanosleep(0,0,NULL,NULL) in C
How to setup a Tertiary DNS server
location: linuxquestions.com - date: April 23, 2009
Hello.. ..We have an existing Primary and Secondary DNS server (BIND) and would like to setup a Tertiary DNS server. My question is what would be the tertiary's configuration? Will it be the same as the secondary server? What do I need to add to the Primary server (zone and db file)?
thanks in advance...
How do I keep my DNS server settings set?
location:
linuxquestions.com - date:
October 28, 2006
Hi,
I have set up my DNS Server settings to use my IP provider's and when I do - the net is fast. But after awhile it resets to 192.168.1.254.
I checked my resolv.conf and see its correct when it works.
[
[email protected] win_e]$ cat /etc/resolv.conf
nameserver 213.94.190.194
nameserver 213.94.190.236
# nameserver 192.168.1.254
But later it is set back to 192.168.1.254 ? Anyone come across this? This is a strange one. I'm running Mandriva 2007 free with standard install of package under KDE 3.5.
so how do i set the alternate dns server?
location: ubuntuforums.com - date: December 15, 2009
so how do i set the alternate dns server?
and preferred dns server?
how install dns server
location: ubuntuforums.com - date: June 8, 2012
hello
i know a little english.
how install dns server in ubuntu server 12.04 . in environment command
thank you
How to set DNS Server on Ubuntu?
location: linuxexchange.com - date: January 1, 1970
I was wondering how to set dns server on Ubuntu to ever, with any network connection and any network device, use a predefined one.
So i "Duckduckgoed" a little bit and found some solutions.
I uncommented the following line in "/etc/dhcp/dhclient.conf":
prepend domain-name-servers x.x.x.x, y.y.y.y;
But, running wireshark (after nm-tool and a reboot), I detected that my names still being solved by my default internet provider dns server. =(
What I'm doing wrong? What I suppose to do?
How to clear cache memory in RHEL4?
location: linuxquestions.com - date: October 20, 2008
Hi All,
I am using RHEL4. When I give the free command. It gives following output.
total used free shared buffers cached
Mem: 32710352 6168032 26542320 0 144216 5464628
-/+ buffers/cache: 559188 32151164
Swap: 2040212 0 2040212
Here it seems cache memory occupies 5GB of memory.
Can anyone tell me how to clear this cache memory?
Regards,
Thamizh
Mysql give 1030 error, now i can't log in to mysql server to clear cache
location: linuxexchange.com - date: January 1, 1970
i am working on a linux CentOS server.
Some day ago i discovered that mysql gave error 1030 (no space avaible on the disk).
Yesterday the admin of the server restarted mysql, now it won't restart because mysql can't find space to create a "pid" file.
My question is:
Since i can't access to mysql server, but i can access to the machine, what is the folder where i can find the cache? I think that i have to delete it because some day ago someone attacked us wih a sql injection, in the log i saw that the hacker executed a lot of "select" queries, so i think the problem is the cache
How do I clear a Hibernate cache from a JPA EntityManager?
location: linuxexchange.com - date: August 27, 2015
I have an application with entities which Hibernate is caching for me. Works great except that I now I have to clear the cache (due to asynchronous data changes). Queries are cached as follows:
query.setHint(QueryHints.HINT_CACHEABLE, true);
query.setHint(QueryHints.HINT_CACHE_REGION, "CACHE_REGION_NAME");
The entities have the appropriate annotations (as far as I can tell):
@Cacheable
@org.hibernate.annotations.Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE, region = "CACHE_REGION_NAME")
So far so good. Now I need to clear the cache. I do the following:
@Override
@Transactional(isolation = Isolation.SERIALIZABLE, propagation = Propagation.REQUIRES_NEW, value = "xProdTransaction")
public void clearClientCache() throws CacheClearingException {
clearSession();
clearCacheRegion();
}
void clearSession() throws CacheClearingException {
Session session = null;
try {
session = em.unwrap(Session.class);
if(session==null) {
t
please wait...
Page: 1 2 3 4 5 6 7 8 9 10