Server :: Internal DNS Setup That Serves LAN?
Jan 31, 2010
I want to have an internal DNS that would serves our LAN and I also had external DNS server (located on our ISP). I have configured my internal DNS .. by adding new A record named test.mydomain.com (for example) and I knew that test.mydomain.com also exists as A record on external DNS server. When I ping test.mydomain.com .. it still return from 202.x.x.x (it should be return from 172.16.250.1? It seems like my internal DNS config below not configured properly..
// named.conf
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
// See /usr/share/doc/bind*/sample/ for example named configuration files.
options {
listen-on port 53 { 172.16.250.2; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt"; .....
View 1 Replies
ADVERTISEMENT
Nov 7, 2010
What is the fastest setup to do this? All I want is an internally authenticated webmail server that other servers can send mail to for collection of test emails. Don't need LDAP or anything fancy, just a internal LAN only webmail server. I've got Squirrelmail setup on Ubuntu Server and can't get authentication setup with Squirrelmail and every tutorial I read is way over complicated or has nothing on how to authenticate Squirrelmail with internal, system users.
View 4 Replies
View Related
Jan 25, 2010
I have ticket tracking software that mails ticket to groups. Right now the software is on an exchange server. After moving it to a dedicated linux server (debian lenny) I cant get it to email any of the internal domain addresses. I have tried to setup sendmail to relay it to the exchange server. Logs indicate that it was sent by the ticket tracking software but the message never hits the mailbox. It also wont get to any other mail address. Is there a better way to do this? The crm software will utilize either a smtp server or any mail server on the localhost. The problem is that with the dedicated server on the same network as the exchange server, it fails to send the mail even if I assign an external smtp server. But if the dedicated server is on a different network then it works using any smtp server in its configuration. I need something that can "pass the email" to the exchange server. Or just be able to send the mail to internal email account and still be on the same network.
View 2 Replies
View Related
Feb 17, 2011
I'm running Ubuntu 10.04 with apache, rails, mysql, etc. My rails site is running at www.example.com. I'm intending to use named-based virtual hosting and I have a virtual hosts file configured/enabled for www.example.com. My site is hosted on Amazon EC2.
The problem is that if I set up a new DNS record -- say test.example.com -- and browse to that, my site www.example.com is served up! That's without configuring any new virtual hosts. And the same is true if I go to my DNS records and define test2.example.com, etc. Without touching my server, these new URLs serve up my website. That's not what I want! I want to use name-based virtual hosting and host different sites for each subdomain.
[Code]...
UPDATE: now I understand a bit more... apparently my real problem is not what I thought it was. My real problem now appears to be that when I copy this virtual hosts file and edit it to add a new subdomain name, set up the corresponding site, etc., and enable the virtual host (a2ensite) and restart (graceful), apache immediately stops serving up any websites. Apparently apache crashes although I do not see any error messages. But all my sites go down and I have to revert and then restart apache.
I thought this was because my virtual host file (pasted above) had an error. So I thought I would start by getting that first file right. Apparently it is right. So now I need to understand why adding a second virtual host causes all sites to stop being served up.
View 1 Replies
View Related
Nov 28, 2010
I have Apache2 running on my server and can serve up pages on that box, but cannot seem to access them from other PCs on the network.
View 1 Replies
View Related
Dec 10, 2010
how to setup a local mail server for internal testing on my php development work. For example if I sent an email using php script to [url]....I should be able to check the mailbox of 'someone' either in Outlook or SquirrelMail.I have done some reading about this. All I know is that I need Postfix with Courier. But I just don't know to get it working.
View 3 Replies
View Related
Jul 27, 2010
I've 7 PC's on my network. I've to setup an internal mail service, to send mails inside the network. I've installed Fedora 12 on one machine and the rest run's on Windows XP. What all packages do I need? How can I configure it?
View 2 Replies
View Related
Nov 7, 2010
What is the fastest setup to do this? All I want is an internally authenticated webmail server that other servers can send mail to for collection of test emails. Don't need LDAP or anything fancy, just a internal LAN only webmail server. I've got Squirrelmail setup on Ubuntu Server and can't get authentication setup with Squirrelmail and every tutorial I read is way over complicated or has nothing on how to authenticate Squirrelmail with internal, system users.
View 2 Replies
View Related
Jun 25, 2010
I often have a need for an icon on my panel or any place that toggles between two states. Example: click the button once and it turns on the Internet (1), click the button again and it turns off the Internet(2), click the button again and it turns the Internet on again (1).The only way I know is to have a script create and delete a file. If it finds no file, it runs operation 1 and creates a file. If it finds the file, it runs operation 2 and deletes the file.
View 4 Replies
View Related
May 10, 2010
how to remove the envelope icon that serves to emphaty, evolution and gwibber which is next to the clock?
View 2 Replies
View Related
Feb 16, 2010
I have got a running mail server on CentOS5.4 Final using Zimbra free edition. . Assume that domain is organization.com.local And it is running fine with users created and bugzilla running on the same machine can send mails using this server. But it can obviously send messages to the internal users. There is this option to configure it to use external mail server to send mails outside the network but my external smtp server needs an authentication.Is it possible to configure it this way to use my external server to send mails from internal domain to say gmail?
View 15 Replies
View Related
Aug 19, 2010
Does anybody know of a program and/or an Operating System in which serves the purpose of managing OSs in a nature of simplicity? Sure would save so much time i spend reinstalling linux every time its brakes.
View 3 Replies
View Related
Jan 19, 2010
We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.
Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".
I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .
Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?
Is there any other files which need to be changed? Are we missing any steps?
Also to add-on, while executing the ypinit command we faced the following error:
At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:
The current list of NIS servers looks like this:
Is this correct? [y/n: y] y
Error running Makefile.
View 3 Replies
View Related
Apr 24, 2011
I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.
View 1 Replies
View Related
Oct 22, 2010
How to setup a SMS server using Linux, also want to know the appropriate Linux distribution to setup a SMS server.
View 2 Replies
View Related
Jul 7, 2010
We want to build a couple internal web apps for about 150 people to use, maybe 10 concurrently of any one app/site. LAMPP seems to be pretty simple to use for all it does, but their website has the following disclaimer at the bottom of this post, and there's some people here, programmers who like to make things way more intense/"cool" for programmers than they need to be for a small shop, who agrue that it shouldn't be used in production. I'm not really sure our internal 150 people classify as the type of "production" they are referring to below, I think they more mean a public facing site. We're never going to grow any bigger than this people-wise, or ever make these public facing sites. Just looking for some advice, as lampp seems very easy to use, as well as easy to backup and restore the entire lampp folder and get going on another server quickly in the event of a disaster.
As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.
View 2 Replies
View Related
Sep 30, 2015
I installed debian 7 and apache 2.2 with virtualhosts. I'd like to run CGI, but always get internal server error. i tested it with a simple test.cgi file.I got this in apache error log.Wed Sep 30 21:39:02 2015] [error] [client 192.168.0.156] Premature end of script headers: test.cgi
When is switch off "Addhandler cgi-script .cgi" in the config file i see the code. Permissions are 755 on the whole directory. I have checked a2enmod, the modul is loaded (sudo a2enmod cgi)..here are the part of config files :
ScriptAlias /gestioip "/var/www/gestioip"
<Directory "/var/www/gestioip">
AddHandler cgi-script .cgi
AddDefaultCharset utf8
[code]...
View 0 Replies
View Related
Jul 15, 2010
So I'm running proftpd on an old machine just for my own backup purposes, but I'm running out of space. I was wondering if it would be safe/efficent to set up an additional USB hard drive to the LVM drive that I have now? As in, would it write quick enough (USB 2.0), read quick enough and not corrupt data?
View 1 Replies
View Related
Jan 14, 2010
How can i build an internal dns server for my network, but don't use the top level domain, e.g:. mycat.com. I want to use mycat.kgn. And I want to put a mycat.kgn mail server on the network for internal uses.
My setup:
dns mx mail2.mycat.com (my server)
mx mail.mycat.com (godaddy)
inet-gateway & firewall & mailserver:
centos 4, mail2.mycat.com
nic1 - internet
nic2 - 192.168.0.1
kerio email server 6
All workstation & server uses:
ip: (below)
netmask: 255.255.255.0
gateway: 192.168.0.1
dns: 192.168.0.1
Workstations:
windows & linux
nic1 - (192.168.0.20 - 192.168.0.199)
Printers:
HP laserjet
jetdirect (192.168.0.211 - 192.168.0.249)
Data server:
1. ubuntu 8.04 LTS, nic1 - 192.168.0.8
2. redhat AS 2.1, nic1 - 192.168.0.10
3. xenserver 5.0, nic1 - 192.168.0.11
- windows 2003 terminal server, xen-nic1 - 192.168.0.210
- winxp sp3 accpac, xen-nic2 - 192.168.0.2
- win2000 sp4, xen-nic2 - 192.168.0.200
Config: I need a dns server with:
dns mx zimbra.mycat.kgn 192.168.0.127
A mycat.kgn 192.168.0.1
A samba.mycat.kgn 192.168.0.128
A www.mycat.kgn 192.168.0.1
NS ns1.mycat.kgn 192.168.0.129
All workstation and servers:
ip: (same as above)
netmask: 255.255.255.0
gateway: 192.168.0.1
dns: 192.168.0.129
ldap all machine to zimbra.mycat.kgn for login info and password.
map drive g: to samba.mycat.kgn data-share (with users rights from ldap)
I tried to do this in virtualbox, but fail badly! I created 6 vm using ubuntu 804 and 910, but my dns was not getting any records with dig, so I found an howto on powerdns. But I had to use mycat.com and not mycat.kgn?
I will draw my network to be!
each machine:
ip: (sameas above)
gateway: 192.168.0.1
dns: 192.168.0.129
dns-nameserver 192.168.0.129
nameserver 192.168.0.129
and if the dns server does not find the info it forward it to the gateway 192.168.0.1
View 2 Replies
View Related
Aug 29, 2010
Basically, i want to be able to type a domain in my browser e.g. default.dev and it direct to the ../www/default folder on the Ubuntu Server on my network. The reason being is that as a web developer i have a number of sites that i'm working on locally and i'm getting tired of adding the domain to my hosts file and then creating a virtual host in Apache - i believe this can be done with BIND - is this right? If so what steps are required?
View 1 Replies
View Related
Feb 12, 2010
I am tired of managing local Address Books and Calendars. I use either POP or IMAP email accounts now and want to keep the email accounts I have. What is a good Mail Server I can setup to Let me use a Global Address Book and Shared Calendar System between Outlook 2003 and Evolution, but not create email accounts? In Other words I want a Local Server I can setup that does nothing but manage a Global Address Book and Calendars. I want to keep using POP and IMAP accounts for the email side of things.
View 1 Replies
View Related
Apr 23, 2010
I have several web servers running apache on my LAN. Each internal server hosts a number of domains.I would like to make these available to the internet and make sure they all get to use port 80 and 443.My idea was to put Apache on the firewall and have all http(s) traffic from the Internet to my firewall be redirected by Apache to the different internal apache servers. This, in theory, would allow me to keep the standard http(s) port.
Can this be done? I was thinking of mod_rewrite and mod_redirect but in all honesty, I'm a little at a loss on where to start.Can someone point me to relevant documentation or give me the basic idea on how to start?
View 2 Replies
View Related
Jul 24, 2011
I'm running bind9 on Debian 6. I have a primary domain, 44kg.net, fully configured and working dynamically (the server also runs DHCPd and updates the DNS records properly).
[Code]....
To access my externally-facing website, which has a blog and a forum which are keyed to the external domain, I set up the domains in bind so they would resolve to the server's internal IP. This worked great for a few months, then inexplicably ceased working. I didn't touch anything, but it coincided with our router dropping its VLANs. I've moved the server to a different location and it's still not working properly. Whenever I try to lookup the external domains, I get SERVFAILs. This is annoying because the internal domain is fully working and I copied the basic settings.
[Code]....
View 6 Replies
View Related
Nov 22, 2010
we have a DNS server is being used for external clients .Recently we installed awstat monioring tool in ordr to collect either ftp or mail statistic. Since our server is DNS server by defenition we may see all external clients requests to the ftp/mail services .But a LAN clients cannot be resolved by their IPs . The second nameserver line doesn't work. DNS server's conf file looks like :
search mycompany.com
nameserver 127.0.0.1
nameserver LAN_IP_Address
How to configure the server it will resolve both external and corporate clients ?
View 5 Replies
View Related
May 31, 2011
how to disable or modify the email headers showing the internal IP and hostname of the server when using sendmail. I want this removed or change to just a domain name.
View 2 Replies
View Related
Sep 6, 2011
i'm facing an error 500 internal error and i don't know where to start .... How can i get information about the error in order to fix it ???at /var/log/apache2/error.log i can't find anythingi have virtualmin installed , i searched at/var/log/virtualmin/domainname_error_log but nothing .... where is apache supposed to keep log for 500 errors ?
View 1 Replies
View Related
Nov 11, 2010
I have a registered domain that resolves (via dyndns) xxx.mydomain.com to my external facing router -easy no issues there. Behind the router I have several machines (some VMs) running webservers, mail etc... What I want to be able to do is redirect the external traffic based on xxx to the relevant internal machine and serve the content back to the external world.
I have tried using a http rewrite of xxx.mydomain.com to the relevant machine an it works fine from within my network, however externally the re-direct fails as the master DNS servers have no record of internal DNS setup in my network (obviously).
So is there anything I can do to get xxx. recognized externally? I'm only just starting to get my head around how DNS, HTTP, TCP etc all hang together. Am I barking up the wrong tree with rewrite? Should I be looking at proxys?
View 1 Replies
View Related
Mar 31, 2010
Basically, I have a windows 2003 server virtual machine (vmware) inside Ubuntu 9.10.
The Ubuntu machine has IFconfig:
Code: sam@sam-laptop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:15:c5:b8:c8:8b
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:17
Why can't I ping or simply access the internal server on my ubuntu machine from a another computer on the 192.168.1.0 (slash)25 physical network? Do I need a bridge? Iptables?
View 4 Replies
View Related
Oct 29, 2010
My question is:
1] i am able to send mails to localhost or any user of localhost..through any user...
2] able to send mails to extrnal domains like gmail yahoo rediff etc..
I am unable to send mail in internal domain..detail..Main mail server is exchange i configured 1 sendmail and another machine for nagios this both machine are not sending mails to me or on my domain mail id..
View 7 Replies
View Related
Jan 21, 2010
One of our postfix servers is for sending/receiving internal emails only. When a user entered a wrong recipient address, it will take almost an hour for the user to get the "Recipient address rejected" email. What can be done to let the user get the "Recipient address rejected" email quickier.
View 7 Replies
View Related