I've reconfigured our dns server (bind9) with views so that it can serve our internal and external clients.
I've been able to get our external zone file working fine, however my internal zone file doesn't seem to be working as none of my clients when querying my dns server seem to be able to resolve anything in my internal view :/ tux (our dns server) can't even rese any clients in this internal zone file.
Magikman on #linux-noob has been helping me with the issue but we haven't been able to find out why this setup isn't working. He did recommend that I move my zones outside of my named.conf but this should be working regardless :/
Named.conf
Code:
// Default named.conf generated by install of bind-9.3.1-14_FC4
options {
directory "/var/named";
allow-recursion { localhost; internals;};
allow-query { any;};
};
acl internals {
127.0.0.0/8;
192.168.0.0/24;
192.168.1.0/24;
172.168.0.0/24;
};
view "external" {
match-clients { any; };
zone "iainc.ca" {
type master;
file "data/zone.iainc.ca";
};
zone "." {
type hint;
file "named.ca";
};
};
view "internal" {
match-clients { internals; };
zone "iainc.local" {
type master;
file "data/zone.iainc.local";
};
};
internal zone
Code:
$TTL 1D
@ IN SOA ns1.iainc.local. support.iainc.local. (
2007072610; Serial
604800 ; Refresh
86400 ; Retry
2419200; Expire
604800 ); Minimum
;name server
IN NS ns1.iainc.local.
;office hosts
ns1 IN A 192.168.1.4
fred IN A 192.168.0.1
Posted by: znx - 2007-08-07, 03:11 PM - Forum: Tips and Tricks
- No Replies
When using a terminal you might be aware of the ^Q and ^S (that is Ctrl + q or Ctrl + s), these start and stop the terminal.
Say a terminal is scrolling lots and lots of information, obviously you can't read it, so you could do ^S, which would freeze the terminal at that point. Then you can read, do ^Q to start it again and so on.
Personally, in these days where terminals hold hundreds (or thousands) of lines there is little point. In fact most people probably just run the command again and use more/less to scroll the output.
I sometimes find that when I am using a terminal, with say irssi, that I accidently hit Ctrl+s. This will then cause irssi to stop and it will finally timeout and drop the server, needless to say a bit of a pain.
So here is the tip, you can unset the key press, ensuring that you don't accidentally hit the key.
Code:
$ stty stop ''
As simple as that. There is little need to unset the start key press as you will not be able to stop it now. You can add that line into you bashrc and then it will never affect you again.
For those that are interested you can see the current tty setup with:
Code:
$ stty -a
Never forget that every little niggle that can be removed can improve your productivity :)
i'll post a link to the video of the event if any one is interested (as soon as I get a chance, still waiting on the file(s)),
the jump was my 40th birthday present and it was the MOST EXCITING THING I'VE EVER DONE EVER !!!
what an unbelivable experience !!!
awesome but also terrifying as well as terribly exciting !!!
we jumped from 3,000 metres up (that's 3 kilometres !) and did 40 seconds freefall approaching speeds of 200km/h then my tandem pulled the cord and we glided down to earth for the next 5 minutes or so
My name is Toker. I am looking into learning Linux purely as a challenge. Been into computers for a long time now, since about 1982, started with a ZX spectrum 48k hehe, then onto C= Amiga then to PC running dos 6 and windows 3.1, worked my way thru the Windows OS's up to XP pro/Vista, but currently looking into Linux to gain some knowledge on a more interesting OS. The Current system i have for running Linux is an AMD XP 3000+ 512 mb Ram, 20 GB HD, nothing special but i thinks it will do for now, will be adding more HD capacity when i change/upgrade my current Windows Box.
Hi, we're running a fedora core 7 server which we have to run in command line mode for reasons to do with an issue with backup software. We also want to start using XMMS as a hold music server, but because of the aformentioned conflict, we need to also run xmms in commandline mode. we'll therefore need to create our play lists manually. What I've been unable to find is a really clear example of what the format of each line in the playlist should look like when we're creating it in a text editor. Can someone please show me an example so that I can start creating my own.
So I installed Ubuntu a while back and had a dual-boot thing going on. Bare in mind I am a newbie at linux and anything related to the actual mechanics of computers.
So everything is going fine, then yesterday I try and delete the Ubuntu partition and make it how it was before I installed it. So I do this and then when I reboot the computer, the error:
GRUB loading stage 1.5
GRUB loading, please wait...
error 17
I have heard it has to do with the MBR and stuff, but I don't know how to fix an of it...
Please note that I do not have a windows CD, and that the only way I can use my computer is by booting the Ubuntu live CD.
From the live cd I can tell that my windows partition is not gone since I can access the files so I guess I havent totally screwed things up.
I would really appreciate it if I could get very detailed directions, since I'm new to all of this.