=== ejat- is now known as ejat [01:07] how can I set up my Bind server to auto replicate to a set of slave servers external to my network? [01:10] jeeves__: might ask that question in #bind or #dns [01:10] I asked in Bind, it's a ghost town in there [01:14] heh, I already answered that question [01:15] http://www.zytrax.com/books/dns/ch7/xfer.html [01:16] oh it was a different channel :) [01:26] do u guys know of anything similar to rc-status in debian ?? something like daemon tools where is i can type sstat and it shows all services running and how long they've been up ? [01:45] anyone has knowledge relating to ... http://cr.yp.to/daemontools.html ??/? [01:45] can't stand them [01:46] upstart is suppost to be doing all that stuff now anyways [01:48] what can't u stand about them ? [01:48] Im going to have to read up more about upstart [01:49] hi [01:49] anyone who has done LAMP web server for real world? [01:51] Tommy_nmw, what do you mean "for the real world"? [01:52] jeeves__: not for testing environment [01:53] Tommy_nmw, I have one that runs multi-domains, and supports our customer CRM for one of my companies. [01:55] jeeves__: I am a newbie of ubuntu server and I really do not understand without stepby step screen shot. The thing is I want to setup my php inventory application on LAMP server and make it accessible via domain name instead of IP [01:55] jeeves__: from the network [01:56] Tommy_nmw, well, that's a 2 part problem. You need to set up Bind9, and if you want it internally/externally accessable, you have to set up 2 zones. [01:57] jeeves__: do I need to buy public IP address? [01:57] depends. do you want the outside world to be able to see your LAMP server? [02:05] hi [02:05] $VPS.GetNick(14,#archlinux,520) [02:06] DURgod === zz_ng_ is now known as ng_ [02:12] $VPS.GetNick(14,#ubuntu,366) [02:12] $VPS.GetNick(14,#ubuntu,420) [02:12] $VPS.GetNetworks() [02:13] hello [02:20] $VPS.GetNick(14,#archlinux,478) [02:20] ngochai [02:21] hello [02:24] when i call xemacs from the command line in an x session, it creates an x window. how can i tell xemacs only to launch in the shell? [02:25] $VPG.GetNick(14,#ubuntu-server,259) [02:28] hi [02:28] how to change time zone from EDT to our local time on server [02:28] ? === ejat- is now known as ejat [02:35] hi [02:35] how to shutdown server from ordinary user by adding to sudoer group ? === ng_ is now known as zz_ng_ [02:39] hi [02:39] how to shutdown server from ordinary user by adding to sudoer group ? [02:39] how to shutdown server from ordinary user by adding to sudoer group ? [02:39] how to shutdown server from ordinary user by adding to sudoer group ? [02:41] what? === Datz_ is now known as Datz [02:47] Datz: what ? what do you wanna know ? [02:51] hi [02:58] Tommy_nmw: I just didn't hear you the first time [02:58] your question is really two questions [02:59] I'm sure you can find how to add a user to the sudo group if you look [02:59] once you've done that try man shutdown [03:05] sudo file* [03:31] john [04:37] Hi [04:38] If JAVA6 U26 is not made available in hardy, does it mean because Desktop has EOL ? [04:38] I mean Ubuntu Hardy Desktop 8.04 has gone EOL ? [04:39] why is it not made available on Server edition since its supported till Apr 2013 [04:39] can someone please explain [04:39] https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/797718 [04:39] Launchpad bug 797718 in sun-java6 "sun java 6u26 needs packaging" [High,Fix released] [05:45] kaushal, strictly speaking, only packages in 'main' are supported throughout the life of the distro [05:45] pretty sure sun java is in partner, and may or may not be supported [06:13] qman__: Thanks and that answered my question [06:13] so multiverse, restricted and universe is not supported till 5 years ? [06:14] Trying to understand [06:50] quit [07:30] Question -- why is it when u use static IP. /etc/resolv.conf keeps going blank after reboot? Is network manager still controlling that file? === mendel__ is now known as mendel_ [07:56] Sometimes my mailscan server runs out of disk space or inodes. How do you recommend I monitor this so that I will receive an e-mail some time before it runs out? Should I use nagios for this? [07:57] tdn: yes. nagios can do that, and there are other tools too. [08:03] StevenR, what other tools do you recommend? [08:03] icinga (I think that's how it's spelt) seems popular, though it's a frontend to nagios. [08:03] Ok. [08:04] I've not used anything else actually [08:04] I would like something that runs alone on each machine. [08:04] Like a cron job or something. [08:04] Or a deamon. [08:04] why? [08:04] Because otherwise I have to solve trust issues with having one machine login to others. [08:04] nah [08:04] This is how it is solved with nagios. [08:05] you could use the nrpe agent on each server to report to a central location [08:05] Yes. I thought about that. However, nrpe seems rather complex to get up and running. [08:05] I already have a nagios server though. [08:06] It just probes if hosts are up via network. [08:06] (icmp ping and tcp connect) [08:06] well, do disk space checks via nrpe (it's not that hard) or SNMP [08:07] SNMP? [08:07] yes [08:08] How? [08:08] SNMP is a protocol. [08:08] With what tool then? [08:09] nagios [08:09] it'll do snmp checks. [08:09] Oh. [08:09] Ok. [08:09] I think I just have to look further into nagios then. [08:10] at my last job, it did cpu (windows and linux), disk, system load, temperature (for a room monitoring system) and airflow (for our extraction fans). [08:11] Ok. Do you have a sample configuration I can see? [08:11] not anymore [08:11] Ok. [08:11] I don't have access any more [08:12] (If I still worked there, I'd pastebin you some config chunks) [08:31] Ok. === zz_ng_ is now known as ng_ [11:46] can anyone help me with bind9 [11:47] cyber638, what seems to be the issue? [11:47] Can anyone tell me how to write dns record of yahoo.com ... I am using bind9 and I want to make my own dns server [11:47] cyber638: why do you want to do that? [11:47] cyber638, So you want to have your own DNS server on your network? Correct? [11:48] yes [11:48] cyber638, Then after setting up your own local DNS server you want to override the ip address for yahoo.com? [11:49] yup... I want to resolve the DNS for all sub domains of yahoo.com [11:49] cyber638, do you mind telling me why you want to do this? [11:50] sorry I don't mean to override it.... but actually in our college we have dns server which is very very slow..... so we want to make our own dns server for some websites which we visit daily.... [11:51] cyber638, Aah, I see. You want to cache the values so that they are returned faster, not override the values. [11:51] no cache [11:51] I want a complete independent dns.... [11:52] just for yahoo.com, google.com & gmail.com [11:52] cyber638: I'd advise against that. [11:52] cyber638, So you want to have to manually go and change all values for all the dns entries each time yahoo or google change theirs? [11:52] IPs change. [11:53] and sometimes they change often. [11:53] quentusrex , if yahoo and google change their dns entries then is there any way to update it automatically [11:54] cyber638, yes, that would be a caching dns system. Only one request actually has to lookup the value, then all other requests get the cached copy. [11:54] oh ok... then tell me how to do it for yahoo.com and I will do it for remaining websites [11:55] and the cached copy is kept for as long as yahoo and google specify it should be kept. [11:55] cyber638, For bind9 it can cache 'all' sites dns entries if you would like. [11:56] cyber638, This setup is similar to what you will probably want: http://tldp.org/HOWTO/DNS-HOWTO-3.html [11:56] That would configure your dns server to resolve dns entries itself(talk directly to the name servers for yahoo and google) then cache the entries. [11:59] I am getting difficulty to understand it [11:59] A.ROOT-SERVERS.NET. 6D IN A 198.41.0.4 ==> how to write it for yahoo.com [11:59] cyber638, You don't need to deal with that. [12:00] the ubuntu bind9 package includes the initial entires for the root name servers. [12:01] so you mean I just copy paste those things in respective files as written on the website.... [12:01] https://help.ubuntu.com/community/BIND9ServerHowto [12:01] cyber638, do you have an ubuntu server installed? [12:01] no its ubuntu only [12:01] I have installed bind9 too [12:02] cyber638, do you see the files that are already in /etc/bind/ [12:02] yes [12:03] you should probably read through them starting with /etc/bind/named.conf [12:03] cyber638, just glance through them so you know what the default configurations are. [12:05] ok.. already tried them before but failed to do ... [12:05] as you know google has its dns like 8.8.8.8 [12:05] similiarly I wanted to create my dns server but only for one website like yahoo.com [12:05] cyber638, yes, and google provides 8.8.4.4 [12:06] cyber638, If I understand you correctly then you are trying to go the wrong direction(slightly). [12:06] why? [12:07] If you are only looking for dns resolution speed improvements, so that browsing common sites is faster then you need a DNS server that caches lookups. [12:07] my intention is to learn how to make DNS server ... not to cache it [12:07] Which is not as complicated as you probably think it is. You only need to have about 3 extra lines in the configurations. [12:07] cyber638, But you should never try to host somebody elses domain. [12:08] yes... I don't want to host any domain... I just want to create DNS server which will resolve the names into ip address of yahoo.com and for all its subdomain [12:08] cyber638, correct. but you don't have to specify the information manually. [12:09] Bind9 is smart enough to look up the information properly. [12:09] yes... so can you tell how to do it [12:09] Using http://paste.ubuntu.com/ can you paste the contents of /etc/bind/named.conf [12:10] cyber638, I will be glad to walk you through the process. [12:10] ok [12:10] here is the link http://paste.ubuntu.com/645811/ [12:11] Thank you and can you paste /etc/bind/named.conf.options and /etc/bind/named.conf.local please. [12:11] I do not need the default-zones pasted. [12:13] ok [12:14] named.conf.options at http://paste.ubuntu.com/645814/ [12:14] named.conf.local at http://paste.ubuntu.com/645816/ [12:14] Alright, good. Very stripped down configs to start with. [12:15] Now, the first question for you cyber638 : Do you want your server to resolve the lookups itself, or do you want your ISP's DNS server to do the 'heavy work'. [12:15] i want my server to resolve the lookups itself [12:15] Ok, then just a moment. [12:19] cyber638, please run this command on the ubuntu DNS server: dig @localhost google.com [12:19] and pastebin the output. [12:20] http://paste.ubuntu.com/645821/ [12:21] it seems bind is not started, please run: service bind9 start [12:21] then rerun the dig command. [12:22] http://paste.ubuntu.com/645823/ [12:25] listen our university blocks the connection at port 52 and 53 for all ip except the ip of open dns [12:26] Then it sounds like you will need to setup opendns as a forward. Just a moment. [12:27] but there is a problem [12:27] Uncomment the forwarders section and replace 0.0.0.0 with 208.67.222.222 [12:28] ok [12:29] then you can run: rndc reconfig [12:29] and that should have bind9 update the configurations. [12:30] here are the results http://paste.ubuntu.com/645825/ [12:30] Good. [12:30] run it again, and check the Query time [12:30] see how long it takes now. [12:30] its 0msec [12:30] got cache [12:31] that's it. [12:31] Any request for a DNS entry that isn't already cached will be forwarded to opendns, then cached. [12:31] ok but I have 1 last problem [12:32] our university block game websites like miniclips.com and to block it they use open dns [12:32] but when I use ip address for opening website then the website get opened [12:32] alright, time for a small experiment. [12:33] run the dig command for the domain for something that is blocked. [12:33] What is the result? [12:33] oh ok [12:34] here is the result http://paste.ubuntu.com/645830/ [12:34] miniclips.com. 0 IN A 67.215.65.130 ==> all blocked websites are sent to this ip [12:34] Is that the actual ip address? [12:34] aah, ok. [12:34] So, let's try something a bit different. [12:34] ok... [12:35] replace the ip address for your forwarder with 8.8.8.8 [12:35] already tried it... [12:35] then run: rndc reconfig [12:35] then: rndc flush [12:35] they have blocked port 52 and 53 for all ip except for open dns [12:35] hmm, let me think about this one for a moment. [12:35] but I have one more idea [12:36] can we dig on some webpage [12:36] and put that data into bind9 [12:39] I have one more way... proxy is allowed in our university but it slows the speed... so can we use proxy to dig, once we get the data then we will remove the proxy... [12:41] cyber638, At the moment I can't think of a simple solution to the problem. Other than just adding an entry in your /etc/hosts file. But that doesn't help windows clients. [12:41] that's not the problem... [12:41] i want it in ubuntu [12:42] you only want the ubuntu machines to be able to get the real ip of the sites? [12:42] we don't have problem with operating system as our friends use both OS.... [12:42] they just want to play online games so they can even play them using ubuntu [12:43] but I want the DNS to resolve the ip address of all subdomains of miniclips.com [12:43] Aah, then life is easy. Just add this line to the file /etc/hosts "8.8.8.8 the.domain.com" [12:43] replace the ip address with the correct ip address of the site, and replace the domain with the correct domain [12:44] I already tried it but there is problem [12:44] and you can just add a: "8.8.8.8 *.domain.com" to resolve all subdomains. [12:44] but what if e.miniclips.com will have some other ip address [12:46] aah, /etc/hosts can not support wildcards. [12:46] yeh .... [12:46] if there any way to lookup the DNS of the miniclips for its subdomain [12:47] cyber638, you might want to look into dnsmasq [12:47] but I have to go. [12:47] what is dnsmasq [12:47] oh ok [12:47] https://help.ubuntu.com/community/Dnsmasq [12:50] when u will be back [13:01] is there anyone who can help me with bind9 [13:01] ???? === airtonix_ is now known as airtonix [14:13] hello, anyone tried to set up a DiabloII server under ubuntu? [14:40] simple question: I created a forward zone. domain.name.local to the Windows AD Server, let's say 192.168.1.2. the BIND9-server, on 192.168.1.3, hosts name.local, and needs to domain.name.local to 192.168.1.2 [14:41] but nslookup domain.name.local 192.168.1.3 fails: server fail. 192.168.1.2 just works [14:41] I blame Windows 2K8 R2, I think I need to allow somewhere to pickup the forwards, am I right? [14:45] I have a VPS with two websites running on it and I would like to setup mail. Since its just a drupal site and a wordpress site I only need one mail for each website and the guides I have been looking at are quite extensive, what would you recommend? [14:46] mmncs, to handle more than one domain name, you need to go the long way and set up virtual mailboxes [14:46] with only one you could use local system users and be done, but with more than one, you can't [14:46] damn I was hoping I could avoid that [14:46] or just use aliases. :-P [14:47] mmncs: honestly.. just use gmail for domains ;) [14:47] but how do I set that up [14:47] well, you _could_ use local users, but then you couldn't have two users by the same name, one on each domain [14:47] they'd be the same user [14:47] you can accept mail for 2 domains on one server and just use aliases to differentiate [14:48] virtual mailboxes isn't "the long route" tho.. its like.. 2 lines in 2 files. [14:48] sounds interesting, how would I go about that and would I also be able to send mails from the server, my drupal site? [14:50] Since I would def want to avoid going the long way and gmail is just fine, since its only two mail accounts [14:51] just install postfix with the 'internet site' configuration [14:51] done that [14:51] then, as long as the domain you used is correct [14:51] and your DNS is set up right [14:51] you're good to go [14:52] how is that [14:52] anyone? [14:53] TuxBrother, I don't know, as I have not set up such a configuration; however, I would enable BIND secondaries and put the zones in both, unless you need dynamic updates [14:54] An AD needs dynamic updates [14:54] I work with AD on a daily basis [14:54] it's not strictly necessary [14:54] just a nicety [14:55] another question [14:55] I have a dd-wrt router [14:55] qman__, how do I then setup my sites to send mail and how do I setup the receive portion, if you have a guide that would be great [14:55] can I configure that to forward domain.name.local to 192.168.0.2, and all other domains to 192.168.1.3? [14:55] mmncs, if you installed postfix that way, sites can just use the system mail functions, such as php's mail(), and it will work [14:56] TuxBrother, I don't think dd-wrt has anything that sophisticated in it [14:56] qman__, cool thanks, and how about the receiving part [14:56] you forward based on port numbers [14:57] ahh [14:57] what do you recommend? [14:58] mmncs, your server will receive mail, but it will only deliver for the domain it's configured with, to users that exist [14:58] I need that only the AD Domain dns-requests go to Win2K8R2 (domain.name.local), and all other domains (name.local) to the linux box [14:58] that's where aliases or virtual mailboxes, etc. come in [14:59] TuxBrother, I would just put both zones on both boxes and be done [14:59] the only way to do that is forwarding [14:59] qman__, but I have two domains for each website [14:59] you were going about it the right way, but I don't have an answer for your original question [15:00] mmncs, that's where the virtual mailboxes come in [15:00] then you configure your server with multiple domains and users for those domains, and your server will receive for those too [15:01] qman__, and that is the long way? [15:01] yes [15:02] qman__, ok thanks [15:07] qman__, do you know anybody that could answer my question? [15:08] TuxBrother, no, I would suggest looking into 2008 guides though [15:08] provided you set up forwarding right in BIND, which is well documented, that would be the only thing left [15:11] Im using ufw as firewall how do allow postfix, should it be: sudo ufw allow Postfix or sudo ufw allow Postfix Submission ? [15:14] and I can't find that one [15:16] Windows only knows this sentence: Forwarders are DNS servers that this server can use to resolve DNS queries for records that this server cannot resolve. [15:16] well, I am looking for this one: Forwarders are DNS servers that USE this server to resolve DNS queries for records that THAT server cannot resolve. [15:38] error (network unreachable) resolving 'domain.name.local.0.0/A/IN': 2001:500:1::803f:235#53 [15:38] ipv6 perhaps cause this? [15:38] this error message appears on a lookup === ng_ is now known as zz_ng_ [17:06] New bug: #811948 in postfix (main) "package postfix 2.8.2-1ubuntu2.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 75" [Undecided,New] https://launchpad.net/bugs/811948 === zz_ng_ is now known as ng_ [18:48] How do I install Firefox for use with xvfb? When I try apt-get install all I see are GUI versions. I want to run it headless http://coreygoldberg.blogspot.com/2011/06/python-headless-selenium-webdriver.html [19:07] New bug: #811976 in nut (main) "Update nut to 2.6.1-2" [Undecided,New] https://launchpad.net/bugs/811976 === niekie_ is now known as niekie [20:28] Looking for help changing the array name in the superblock information for mdadm array... The only thing I can find on google is changing the device name from /dev/md0 to /dev/md1... this is not what I want... when you do mdadm --query --detail /dev/md0 it shows "Name: sysresccd:0" I want to change that... === ng_ is now known as zz_ng_ [22:53] druciferre, I'm unclear as to what kind of name you are looking for. And my mdadm --query --detail /dev/md0 gives a whole page of data about the array, but no name. Same result on 8.04 and 10.04 server [22:54] fluvvell, it depends on what version of the superblock you use [22:54] i bet your version is less than 1.0 [22:55] fluvvell, http://linux.die.net/man/5/mdadm.conf look under the "ARRAY" section for "name=" [22:56] fluvvell, more details from the mdadm(8) man page --> -N, --name= Set a name for the array. This is currently only effective when creating an array with a version-1 superblock. The name is a simple textual string that can be used to identify array components when assembling. [23:03] druciferre, gotcha. Yep, mine are 0.9 superblocks. [23:04] fluvvell, the only way i ever found to change that name/label was to zero out the superblocks and recreate the array... [23:04] druciferre, I've generally only had to refer to the separate elements by their UUID, so hadn't come across the need to name them otherwise [23:06] fluvvell, despite having been using an md array for over a year, this is the first point in time when i've begun investing time in really understanding how it works... [23:07] fluvvell, one of my drives dying is what prompted all this... [23:12] druciferre, I've had raid1 arrays for about 4 years at various sites, but never felt the need to name them. Have had to replace about 4 failing devices so far. The main cause I've discovered is insufficient cooling of drives. Incidentally, while googling your reference to superblock 1.0, I discovered wikipedia has an mdadm page, Breif but interesting. [23:13] while I've had some angst over drive replacement, they have usually ended up being quite straight forward. It might be a different story with RAID5 perhaps. [23:14] fluvvell, after my drive died, i noticed a huge amount of dust in the front cover blocking the fan i had cooling the drives... so you're probably right, but you can bet I will be cleaning the dust out of once or twice a month from now on [23:16] druciferre, or filter your server cabinet. Or get your computer box off the carpet ;-) Businesses that have un-sealed car parks or workshops adjacent to the office have been the sites I've struggled with dust the most. [23:17] I have hard wood floors... the server is a custom built mini-tower that is sitting on the floor, and i do have plans to get it off the floor as soon as I can find something to sit it on [23:18] I note that kernel.org has an announcement for a new version of mdadm. "Subject: ANNOUNCE: mdadm 3.2.2 - A tool for managing Soft RAID under Linux" Dated June 17th 2011. Probably won't migrate into ubuntu for a version or so. [23:20] druciferre, If its dust on hardwood, One of my engineer clients had a small cabinet made with a place for a removable dust filter on the front. They can change it monthly, cuts dust considerably. We are in a cool climate I might add. [23:20] fluvvell, do you know anything about acl permissions ? [23:21] Access control lists. I [23:21] ve tried to keep clear of them... [23:21] There is a samba add on I believe.... [23:22] Oh well, thanks [23:23] Sorry. I've seen sites with it working but not had personal experience. [23:25] was trying to find out if the settings are stored on the disk like the unix permissions are, or if I need to backup the acl settings [23:59] fluvvell, did kernel.org mention what was changed in the new version of mdadm?