Can I avoid setting up a DNS server?

Dear all,
I’m a newbie to set up a server but I recently bought a Mac Mini Server and I have some questions in setting up the machine.
My ultimate goal:
Set up a multimedia server in my Mac Mini Server which provide photos up / download and Quicktime video streaming services for my friends outside my local Lan.
My settings:
ISP (Dynamic IP) →DSL modem →Linksys Router (DHCP) →
1. Web Cam IP: 192.168.1.253 port 50000
2. Synology NAS IP:192.168.1.107 port 5000
3. Mac Mini Server IP: 192.168.1.108
4. Mac Book Pro x 2(wireless)
Since I don’t have a static IP, I registered a domain name which link to my dynamic IP. i.e. abc.viewnetcam.com
I can access my web cam and Synology from outside through port forwarding i.e. http://abc.viewnetcam.com: 50000 & http://abc.viewnetcam.com: 5000
During set up my Mac Mini Server, I was required to enter the Primary Domain Name, since I did not have a DNS server in my local Lan, I entered MacMinSserver.private
After I set up the server, I found that there was a message left on the desktop saying that; ….The domain name servers you’re using don’t have an entry for the domain MacMiniServer.private, and therefore your clients won’t be able to access your server using the name MacMiniServer.private…..
Now here is the question:
1. Can I just simply avoid to set up a DNS server in my Mac Mini Server? Cause it is very complicate; I have read up some information about DNS server settings which make me feel puzzle.
2. If DNS server is a must, so how can I set it? I have read the instructions in the HoffmanLabs, but after setting up the DNS server, how can I access my server from outside? Through port forward?
( Now I can access my server from outside in Safari with URL afp://abc.viewnetcam.com:548)
Many thanks.

I take some time to digest your suggestions. I’m convinced to build up a DNS server, although I don’t fully understand how it works.
DNS is a way to ask a server or a series of servers to translate a string of a specific format into an IP address. If you follow the article in your implementation, then the local DNS services will cooperate with and access external DNS servers world-wide for public DNS translations.
But then questions come up again, first what should be my Primary Domain Name?
I don't know what you're looking at that is using "primary domain name", but the "domain name" you use? I use real and registered and public domains for the domain on private LANs. It's simple, effective, and unique. And I don't have to deal with collisions. I don't prefer to recommend using a made-up domain, as it's a few dollars to get a real domain and then you don't have to deal with collisions if and when you need to expose parts of your network.
Here, a bogus TLD would be, for instance, macminiserver.myhouse.ngmy69; that's a top-level domain (ngmy69) (TLD) that is not allocated, and unlikely to be publicly allocated, and a subdomain (myhouse) of your choice, and a host name (macminiserver) of your choice. (There are around 300 TLDs already allocated and live, and more are on the way. com, net, biz, org, travel, cat, two-character country codes, and more...)
This is listed in the article, including the trade-offs, and including a description of bogus domains.
As you said that the external DNS and the internal DNS should be separately functioning, then is it true that I have the freedom to choose my Primary DNS name? Or I have to stick to certain rules?
DNS and IP routing work by cooperation. You have to stick to certain rules, and the article guides you through the four general choices for picking a domain name.
In my case, do I need to use the external domain name, i.e. macminiserver.abc.viewnetcam.com or I rent another registered domain name and it will be macminiserver.xxxxx.com or even I create an imaginary name?
After you get your LAN DNS going, then read the [dynamic DNS article|http://labs.hoffmanlabs.com/node/1541].
Here, you've picked a domain (viewnetcam.com) name that's real and registered. That, and the use of the abc and macminiserver subdomains are something you'd have to work out with the folks administering that domain. While it is technically a domain name, macminiserver.abc.viewnetcam.com is also variously called a host name, as that'll usually have an associated IP address, and a subdomain like abc.viewnetcam.com might and variously will not.
With a real and registered domain (your own registered domain, or a DynDNS host), you can (later) choose to expose parts of your network. You don't own a DynDNS name, and DynDNS doesn't allow you to use various server functions and you can't use that on your LAN. DynDNS is a good solution for remote access into a home network and even for a VPN connection in but (if you're eventually looking to use mail or secure web access or other features) you'll usually end up using your own domain name.
The second question is that, how can I avoid using the subnet 192.168.1.0/24, as my router is providing the DHCP service, will that means I need to re-organized the whole network included the web cam and my Synology? Is there any simple way to achieve that?
It's the effort you think it is, and it involves getting that gateway server reconfigured to have its address in a different subnet and the DHCP server reconfigured to pass out addresses within a range within that subnet, and this is an effort that scales as your network increases and as you get IP addresses embedded. If you're going to do remote access via VPN, many home networks and many coffee shops will use 192.168.0.0/24 or 192.168.1.0/24, and having the same subnet on both ends of the VPN means IP routing tosses a snit.
[Please read the DNS article|http://labs.hoffmanlabs.com/node/1436] through, and then post up questions you might have.

Similar Messages

  • Can´t communicate with the primary DNS Server 200.49.156.5: and now?

    Hi,
    I have connected a Sony Vaio with a Linksys WRT54G router, using broadband cable provided by a Motorola Surfboard Modem (model 5b5100i)
    I followed all the steps from the router´s CD.
    Finally I connected a network cable to the port 1 of the router and on the other extreme the Motorola Modem is now connected. As result, since I  have a desktop already connected to the modem, there are now 2 connections on the back of the motorola modem, 1 for a desktop that uses its USB plug and a 2nd, which uses a network cable (ethernet connection) and that plugs at the end to the Linksys router. connection is ok based on the Linksys CD.
    The wireless card of 2 different laptops recognize the router´s signal, but no internet copnnection is available. 
    after diagnostic on network problems by Vista Windows, I receive the following message
    ¨"Cannot communicate with the primary DNS Server 200.49.156.5"
    What does it mean? what needs to be set in order to make it work?
    Thanks in advance for any help

    I talked to a tech support form my cable company and the motorola only provides 1 IP address, therefore, in order to make a router work (it will need its own IP address, a 2nd one), you need to buy an ADDITIONAL internet connection or access point....this company is in Argentina. While I lived in the US (last month) they allowed me to have multiple computers from the same one connection.
    bottom line, calll your ISP and tell them you need either to install the router on your connection OR to have an additional internet cable input....
    just my 2 cents...business rules.

  • How can I avoid re-configuring my outgoing server when travelling?

    I have always "reconfigured" my 'outgoing server' -- the smtp setting under MAIL preferences -- when travelling outside my ISP's service area. (For 12 years with Eudora, and now 4 years with MAIL).  But often at hotels, or in airports, it's not possible to get the info, that is, the smtp designator for the ISP serving the hotel or airport. When unable to get that info, I have to revert to using my home ISP's "webmail" which is clunky, limited, slow, inflexible, and doesn't integrate well with my Apple MAIL later. I hate using it.
    When I AM able to get the local smtp designator info when on the road, it nearly always does the trick and I am able to do all my email work as I would back at my home office.
    However, recently, I stayed with a friend on the west coast, (let's call him Brian) who is something of a Mac expert, but he was unable to confidently give me the smtp designators for his local ISP-- apparently because he never has to change his smtp configuration when on the road!  Like me, he uses two servers, that is, he is connected at his home via the phone company's DSL service using a high speed modem, but he likes to retain the email address he had originally got from an earlier ISP he used, back when he was on dial-up. So he pays that ISP a monthly $5.00 to allow him to continue to use the email address he has had since being their customer way back when.  So we called both of Brian's ISP's and got their smtp designators. However, neither of these, when plugged into my MAIL preferences, would allow me to "send" using Apple MAIL and I was again obliged to use my clunky webmail.
    Now, it seems to me he is being "relayed" (is that the right term?) by the phone company sending outgoing mail over to the older ISP, and the older ISP relays his mail over to the phone company's server to give him his incoming mail. When I am visiting him, this may be to confusing for the smtp configuration in my MAIL.
    I would think not, though, because I have a similar setup: I connect to a cable company modem from my home on the east coast, but my address is the one I got from our local phone company before high-speed became available to us via the cable TV service. When we switched from the phone company's dial-up to the cable company's high- speed, we kept the original email address --which was specific to the phone company-- and we pay $5.00 per month for the privilege. Seems very similar to Brian's setup.
    However, at Brian's, changing the smtp designator doesn't work to allow me to send emails from Apple's MAIL program.
    Brian tells me he doesn't have to do this smtp change when he travels, with his Apple MAIL.  He doesn't know why I do it, nor why I should have to.  I suspect, that unknown to him,  his ISP has some kind of setup whereby his smtp designation is a sort of "universal" outgoing server designation, and his outgoing emails are accepted no matter which ISP he is using when away from home. And I think my MAIL configuration must be incompatible with that. This is just my suspicion.
    So my questions are:
    1. why doesn't Brian have to re-configure his smtp outgoing server when he travels? and...
    2. how can I get that kind of universal "email send-ability" when I travel, and not have to be challenged with having to re-do my outgoing server when travelling, using Apple's MAIL?
    Any insights will be most gratefully received!!!!
    PS I'm using Snow Leopard on MacBook 10.6.8; I think Brian is using Leopard on a 15-in Powerbook.

    Many email providers allow you to send from outside their network if you set up authentication to their servers in your outgoing mail server setup. You may wish to confirm this with your email provider, but you can just try this:
    1) Go to the Accounts preference in Mail
    2) Select your email account
    3) On the Account Information tab, locate the "Outgoing Mail Server" section and pull the menu down to "Edit SMTP Server list"
    4) Select the appropriate outgoing server and go to the Advanced tab
    5) In the Authentication pulldown, select "Password" and enter in your email account ID and password
    6) Click all the applicable "OK" buttons to close it all up and save the information.
    That may work with your email provider, or they may have additional settings needed such as "Use Security Sockets Layer (SSL)". Your provider should be able to tell you what specific settings you need if the basic user name and password don't work.
    Regards.

  • Modem AEBS Laptop. Which of those should have DNS server details set?

    Hi,
    I have a modem which is connected to an AEBS. And the AEBS connects via air to my laptop. Which of these three things should have the DNS server IP addresses, supplied by my ISP, set in them, and which shouldn't?
    The modem has a web page based set up, which has a DNS set up available. It seems to have a mind of its own and ignore my settings -- resets to what it was before (which isn't the case of other settings for the modem)
    The base station in its set up has DNS server IP address fields, which was already filled in (automatically possibly -- I can't remember) with my ISP's DNS addresses.
    And there's the places for DNS addresses in the Network in System Preferences. This was empty but I've now put in my ISPs settings there. Either way, with or without, doesn't seem to make any difference.
    Can anyone tell me where there is info online about where to put DNS info correctly for a modem > AEBS > computer set up please? Or maybe someone knows?
    TIA,
    John.

    I never set the DNS servers on any client computer, Mac or Windoze. Note that in the DNS Servers: section of the Network Preferences it says (Optional). I suggest you leave that space blank.
    Similarly, if you are using your AEBS as your gateway router and your Internet connection to your is configured Using DHCP there is no need (and no benefit) to predefining the DNS servers.
    If you have a situation where you must pre-set the DNS servers IP addresses, then I would do it only in the AEBS.
    BTW, I assume this is in conjunction with your other thread about the AEBS crapping out every few hours while downloading files. Remember that DNS is used only to resolve names to IP addresses as in each time you call up a different URL. DNS doesn't enter the picture in the middle of any other kind of transaction. I suspect that DNS is not your problem in this case.

  • Dynamically configure different DNS server based on user login.

    I've got two young sons and I'm looking to reconfigure the 'Family' desktop to give the older son his own user account.
    I've only recently started with Arch on my personal netbook so the family desktop is still running Ubuntu.  That will likely change next clean install though.
    I'd like to set the DNS to OpenDNS 'family shield' for his usage but allow full access via a different DNS server such as google DNS (for example) for parental use without filtering.
    I'd like this to switch auto magically based on the user login credentials if possible.
    I understand the limitations of DNS filtering but my oldest son has never even heard of DNS much less being able to figure out how to circumvent it yet.  I'll deal with that in several years when it becomes an issue...
    Can anyone point me in the right direction?

    bergersau wrote:Thanks,
    It looks like I might have to set up a squid proxy with Dan's Guardian.  I was hoping for a simpler solution though.
    Dan's Guardian is going to be a whole lot simpler than hacking the system resolver to use different servers for different users.
    You MIGHT be able to hack something with iptables, the NAT table and a DNAT in conjunction with the 'owner' module... Something like:
    Set your "unrestricted" DNS server in /etc/resolv.conf and a rule like below...
    I'll assume you set the Google servers; 8.8.8.8 and 8.8.4.4 and your son's usernames are 'brad' and 'tony'
    iptables -t nat -A POSTROUTING -d 8.8.8.8 -m owner --uid-owner brad -j dnat --to 208.67.222.222
    iptables -t nat -A POSTROUTING -d 8.8.4.4 -m owner --uid-owner brad -j dnat --to 208.67.220.220
    iptables -t nat -A POSTROUTING -d 8.8.8.8 -m owner --uid-owner tony -j dnat --to 208.67.222.222
    iptables -t nat -A POSTROUTING -d 8.8.4.4 -m owner --uid-owner tony -j dnat --to 208.67.220.220
    Untested and I don't guarantee that will work. You could tidy it up and bit using subchains etc, but I'll leave that as an exercise for the reader.... And I'd still recommend a filtering proxy over the above....

  • DNS Server working for top level domain but not host

    Hello,
    I just set up the DNS server on my server and thought I had it working until I tried the sub-domains. I could get to example.com but mail.example.com and www.example.com did not resolve properly even though I had specified them as aliases for the machine record.
    Does anyone know where to look for the cause of this problem? Below I have included my zone file for the domain:
    ns1:/var/named$ more shenzhenguide.com.zone
    $TTL 3600
    shenzhenguide.com. IN SOA ns1.shenzhenguide.com. info.shenzhenparty.com. (
    2006061012 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    shenzhenguide.com. IN NS ns1.shenzhenguide.com.
    shenzhenguide.com. IN NS ns2.shenzhenguide.com.
    shenzhenguide.com. IN A 61.145.163.184
    ns1 IN A 61.145.163.184
    shenzhenguide.com IN CNAME ns1
    www.shenzhenguide.com IN CNAME ns1
    mail.shenzhenguide.com IN CNAME ns1
    *.shenzhenguide.com IN CNAME ns1
    shenzhenguide.com. IN MX 1 ns1
    ns1 IN TXT "aliases don't work"
    ns2 IN A 210.17.235.228

    If you enter "www.shenzhenguide.com IN CNAME ns1" there has to be a dot after the .com like : "www.shenzhenguide.com. IN CNAME ns1" but you usually drop it to "www IN CNAME ns1" instead.
    (I don't think you can call the host in a domain for a subdomain).
    Try it like this:
    $TTL 3600
    shenzhenguide.com. IN SOA ns1.shenzhenguide.com. info.shenzhenparty.com. (
    2006061012 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    shenzhenguide.com. IN NS ns1.shenzhenguide.com.
    shenzhenguide.com. IN NS ns2.shenzhenguide.com.
    shenzhenguide.com. IN A 61.145.163.184
    ns1 IN A 61.145.163.184
    www IN CNAME ns1
    mail IN CNAME ns1
    shenzhenguide.com. IN MX 1 ns1 (maybe use: shenzhenguide.com. IN MX 1 mail.shenzhenguide.com. instead)
    ns2 IN A 210.17.235.228
    What's this? :
    *.shenzhenguide.com IN CNAME ns1
    And the domain is now handled by zoneedit (with all A records for mail and www.):
    host -v www.shenzhenguide.com
    Trying "www.shenzhenguide.com"
    ;; QUESTION SECTION:
    ;www.shenzhenguide.com. IN A
    ;; ANSWER SECTION:
    www.shenzhenguide.com. 7200 IN A 61.145.163.184
    ;; AUTHORITY SECTION:
    shenzhenguide.com. 6688 IN NS ns17.zoneedit.com.
    shenzhenguide.com. 6688 IN NS ns3.zoneedit.com.
    host -v -t mx shenzhenguide.com
    Trying "shenzhenguide.com"
    ;; ANSWER SECTION:
    shenzhenguide.com. 7200 IN MX 0 mail.shenzhenguide.com.
    And there's no reverse:
    host -v 61.145.163.184
    Trying "184.163.145.61.in-addr.arpa"
    Host 184.163.145.61.in-addr.arpa not found: 3(NXDOMAIN)

  • DNS server responses extremely slow

    I set up the DNS Server running on my LAN (authoritative for a fully-owned domain), and I do believe it's correctly set up - reverse mapping works fine, no error messages in the logs or while watching tcpdump, etc. It's behind my NAT/Firewall, is set to be recursive (but I have not tweaked it to make it recursive only for the subnet). My problem is with the performance. Using this internal DNS server to provide DNS for my client machines on the LAN, internet lookups are awfully slow - perhaps five to ten seconds to bring up a major site. Leaving everything else the same on a client machine, and removing the references to the internal DNS server - thus using my ISP's DNS servers outside my LAN - the same site can by fully up in one second.
    Is this major lag in performance simply caused by the fact that the ISP's DNS server is so often caching many many more sites than I could ever request from my own LAN? Or should I be looking for something specific to hunt down perfformance problems?

    If your server is stand-alone, you can run without internal DNS.
    If OD Master, you also can run without internal DNS but config of course needs to be correct. Many people say it's best to run with internal DNS, but it's not a requirement.
    One reason to run internal DNS..
    If you connect to your server by fqdn (host.domain.com).
    Without internal DNS, the client will connect to the public IP (wan side of your router). If your router supports loopback, this will work- if it doesn't support loopback it won't work. Even if it does work, you are forcing your client-server traffic to be processed (NAT) by the router, incredibly inneficient (although a simple config for basic requirements). If you're moving big files with AFP, you don't want all traffic to go from client-router(NAT)-server-router(NAT)client. You can get around this by connecting using .local or IP addresses. So this all depends on your config, requirements, habits of the users, etc.
    JJ

  • Time Capsule blinks yellow,when I go to airport utility to set up, it Says This apple wi-fi bse station doesn't have any DNS server addresses and might have trouble connecting to internet.  My internet works, but I can't back up anything. What do I do??

    Worked fine for about a couple of weeks after my son -law installed the time capsule.  I can access the Internet both from my wife's I phone and from my desktop.  I think that I need to get the DNS server numbers and put them in the two blanks; but where do I get them?  Thanks, Jim

    If the modem is also a router, either use the modem in bridge and run pppoe client on the TC.. that is assuming ADSL or similar eg vdsl. If it is cable service.. and the modem is a router, then bridge the TC.. go to internet page and select connect by ethernet and below that set connection sharing to bridge.
    Please tell us more about the modem if the above gives you issues.

  • Can't change DNS server setting on airport express

    new airport express, comcast cable ISP, i cannot change the DNS server settings, they are greyed out.  why  is there no way to change this?

    Mark-
    Did you get the AE to actually use the OpenDNS servers?  I have the new AE and Airport Utility 6.3.1 and while I can enter the OpenDNS server settings (208.67.222.222 and 208.67.220.220), they don't work.  When I use a Wi-Fi connected device (my iPhone, for example) it sill uses the Comcast DNS settings, totally ignoring the OpenDNS settings.  I don't know when they stopped working, but they worked in the past.  I've used the old Airport Utility as well (5.6) and it says the OpenDNS settings are active, but they aren't.
    I want to use the OpenDNS settings for Wi-Fi connected devices in my home for content filtering.  If anyone knows of a DOCSIS 3 cable modem that allows setting DNS servers, that would be an option too, but unfortunately, my Motorola SurfBoard SBG6580 does not.

  • DNS Issues, can't set static DNS server

    I have an Airport Extreme (which I'll call the router). It has an IPv6 tunnel (to Hurricane Electric), so it hands out IPv4 DHCP and announces an IPv6 network as well. The DNS servers configured on the router are OpenDNS'.
    My Apple TV 2 is connected via wired Ethernet to the router. It was using a DHCP address provided by the router, which made the DNS server the same address as the router. I wanted to manually set the DNS to use my ISP's, so that I can make sure the Netflix streaming issue I have is not a DNS issue.
    So I changed the Apple TV to a manual address, and set the DNS server to my ISP's DNS server (Apple TV can only have one DNS server? Odd.)
    After I save this, the Network page shows the correct manual IP, mask, and router, but the DNS Address is an IPv6 address (one that belongs to my network, but the entire address isn't visible), not the one I set. When I Configure TCP/IP again, and I reach the DNS Address page, the first digit of the existing address is "20", and the rest of the digits are "0". Interesting note as well: if I press Down, the number will increment to 19, and so on, but if I press Up, it changes to 0. Obviously the UI isn't designed for IPv6 addressing, but there's an IPv6 address in there nevertheless.
    Screenshots:
    http://www.flickr.com/photos/random_robin/5310011344/
    http://www.flickr.com/photos/random_robin/5310016288/
    I have tried to set the DNS Address multiple times now, and have restarted the Apple TV. The IPv6 DNS Address persists.

    After 16 hours of working i don´t have seen this easy solution. I had tried with Internet Explorer and Opera but finaly i have need to use Firefox.
    Thanks a lot to solve it.

  • How to set up a mail server with a private DNS and relay over a public mail

    How to set up the mail server that we can send and pick up emails inside and outside?
    Our private network has the DNS name dnsname1.private.
    We have our privat DNS Server and he can forward requests to outside over our router.
    Our public emails are hosted by an internet provider. This dns name is dnsname2.com and dnsname2.org.
    How we have to set up our mail server that we can pick up our emails from our public dnsname2.com?
    And when we write an email how we have to set up it that the dnsname is dansname2.com and not dnsname1.private?

    If you want to move your mailservice to your own (internal) server, start by making sure you can recieve traffic on port TCP 25 (SMTP). Some ISPs blocks this port, especially on "non business" connections.
    Can you send mail from your LAN directly to where your mail is hosted using port 25 TCP or do you have to relay via your ISP?
    You have a static public IP?

  • How To Set Up Mountain Lion Server/Point DNS to Mac Mini Server

    Hello, First of all I have no experience with setting up servers whatsoever. Below is what I have
    - Mac Mini with Mountain Lion Server
    - Time Capsule as my router
    - Comcast as my service provider
    My goal is to set up my MacMini as a sharepoint for files and other data with my other partners.
    - I have purchased a domaine name from NetworkSolutions. Does this mean that they are my DNS hosting as well? Not really sure. My biggest question is how to point my DNS to my mac mini server correctly.
    1. How do you point the DNS to my mac mini server.
    2. I've read somewhere to use the IP address from my mac mini server. The only IP address I see is from my Time Capsule (router). I know what my public IP adress is but I am not sure if that's the one to use. I think once I figure this DNS thing I can figure out the rest.
    Thanks - Need lots of help.

    Here's a detailed write-up on setting up internal (private) DNS on OS X Server, and no, you're probably not going to be setting up external DNS on your servers.  Your public DNS service will be hosted on and served from the Network Solutions DNS servers.

  • How can i avoid restarting tomcat server when servlet is modified?

    please advice me that how can i avoid restarting the tomcat server, whenever a servlet file is modified in my application. is their any way ?

    No probs. Here's how I do things...
    1. Install tomcat as normal (e.g. I install to C:\Apps\jakarta-tomcat-5.5.4)
    2. Create a webapps directory in your eclipse project with the following directory structure
    MyEclipseProject
       - src
       - conf
       - webapps
          - MyApplication
             - META-INF
             - WEB-INF
                - classes
                - lib
                - pages3. Set the project's output folder (e.g. bin folder) to webapps/MyApplication/WEB-INF/classes
    4. Put all your jar files in the lib directory
    5. Put JSPs / HTML in the pages directory (you may also want to create additional directories for TLDs, config files etc)
    6. Ensure your web.xml is in the WEB-INF directory
    7. Although it isn't essential I create a context.xml file and store it in META-INF, e.g.
    <Context reloadable="true">
        <!-- Default set of monitored resources -->
         <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/struts-config.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/tiles-defs.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/validation.xml</WatchedResource>     
    </Context>I use this to set monitored resources that will trigger an automatic appliation reload and to configure JAAS (not shown). See the Tomcat documentation for additional information.
    8. In the 'conf' directory I create a server.xml file used to configure Tomcat (you can copy the one from your <TOMCAT_HOME>/conf/server.xml).
    After copying the file change appBase attribute in the host element to be the full path to the webapps directory. You can also change the HTTP and HTTPS ports if you wish
    9. Download and install the Tomcat Launcher plugin from Sysdeo.
    10. In Eclipse's Preferences menu you will see a new entry for Tomcat. Click this then
    a. Set your Tomcat Version
    b. Set your Tomcat Home
    c. Set "Context declaration mode" to server.xml
    d. Set the configuration file to the full path to your server.xml file created in step 8
    On the "Advanced " sub page select all relevant projects to add to the Tomcat classpath
    On the "JVM Settings" page add all the jars in your WEB-INF lib directory to the class path
    On the "Source Path" page select all relevant projects
    Now if you start Tomcat using the Tomcat icon, you will be able to remote debug your application. If you change web.xml (or any other file in your context.xml watched resources) it will automatically reload. Any changes to JSPs will automatically be picked up (providing your tell your browser not to use the page in cache - e.g. CTRL+F5 in IE)
    There are some limitations that I'm still working on however. Primarily that I haven't included the Tomcat Manager application in my webapps directory, so Sysdeo cannot perform a reload. This means that if I change a source file, and eclipse auotmatically rebuilds, Tomcat doesn't pick up the change unless I either change a watched resource file (e.g. web.xml) or stop and restart Tomcat.
    There's no reason why this can't be fixed, I just haven't got round to it yet.
    I'm sure there are lots of other (probably better) ways of achieving the same thing. This was the first method I tried and it worked, so I stuck with it. I'm not a Tomcat config guru and I'm sure other forum users could provide some improvements should they wish.
    Post if you get into trouble, however I won't be able to respond until next week.
    Cheers,
    Steve

  • Can't override DNS Server settings - can only append!

    See this thread for a similar question:
    http://discussions.apple.com/thread.jspa?messageID=3555096
    I have also filed this with Apple (Problem ID 5159216). Here is the text of the report (with a few bits removed - not crucial to understanding the report).
    If anyone has suggestions/clues to resolve, please advise. Thanks!
    Summary:
    This problem concerns AirPort Extreme (802.11n) at revision 7.1. I will summarize with a comparison between AirPort and MacOS X.
    MacOS X and Airport Extreme (referred herein as "AE") both permit editing of DNS server settings whether in DHCP or Manual mode.
    When MacOS X DNS server settings are set manually by the end-user, the new server IPs are used (good). When AE's DNS server settings are overridden by the end-user, the new server IPs are NOT used (not good)! Rather, the DHCP-supplied DNS server always pre-empts whatever is given in the AE Configuration UI.
    Steps to Reproduce:
    1. Using AirPort Extreme (802.11n) at revision 7.1 and MacOS 10.4.9 on a MacBook Pro (Core 2 Duo). The AE has been previously configured for IPv4 using DHCP and the MacBook is successfully connected and resolving domain names through the AE.
    2. Visit "Apple Menu > Location > Network Settings" and check the AirPort TCP/IP settings. For purposes of this test, make sure the "DNS Servers" field is EMPTY so MacOS X defaults to the AE's DNS settings, then close System Preferences.
    3. Run "AirPort Utility" (the newer version, not "Airport Admin Utility") and configure the AE under test. Pick the "Internet" icon in the toolbar and note the Internet Connection settings.
    4. In this test, Configure IPv4 is set to "DHCP" and the DNS Server(s) field contains two DNS IPs assigned by the Internet Service Provider. In my case that's Cablevision's Optimum Online service. You may or may not see IP addresses here, but in my case they are visible.
    5. As the DNS Server(s) are editable, and they both show ISP-supplied addresses, they can be changed to whatever alternate IPs you wish. For instance, change them to these alternate DNS IPs from OpenDNS.com: 208.67.222.222 and 208.67.220.220. (You could use any alternate set of IPs but for the purpose of this test use the OpenDNS IPs.) Update the AE and restart.
    (For additional reference, http://www.opendns.com/start/airport.php shows instructions for the older AirPort Admin Utility, but the concept is exactly the same.)
    6. Normally you shouldn't have to restart the MacBook Pro since we're just using the AE settings, but go ahead and do that just to be consistent with this test.
    Expected Results:
    Now for the moment of truth! We want to verify that we're using the OpenDNS IPs for our DNS Servers. One nice feature OpenDNS has is automagic redirection for certain domain name typos.
    Here's an example. Drop to shell (Applications > Utilities > Terminal) and try this command (excluding the $ prompt, natch):
    $ dig craigslist.og
    The "og" typo is deliberate. We really want to go to craigslist.org. If you're using the new OpenDNS IPs, you will STILL get an Address (A) record with an IP like so:
    ;; ANSWER SECTION:
    craigslist.og. 0 IN A 208.69.32.130
    If you had entered "craigslist.og" in Safari, you would end up at 208.69.32.130 (an OpenDNS server) and then redirected to craigslist.org.
    Actual Results:
    Alas, that's not what happens! Instead, you get NO IP address, like so:
    ;; QUESTION SECTION:
    ;craigslist.og. IN A
    This means we're not actually using the OpenDNS IPs. What's happening?
    To find out, I spoke with the AirPort support group (Case # xxx-xxx-xx). I learned that, despite being allowed to edit and override the IP addresses provided via DHCP, the AE still uses the DHCP-provided DNS server if available.
    Again, the user interface suggests that I'm allowed to override the DHCP-provided DNS IPs as shown in the UI. Even though I can do this, the AirPort will still keep note of any DHCP-provided DNS Server IPs and use those first.
    True, I can switch to Manual network settings (and then my own DNS Server IPs take effect). Of course this is problematic when the ISP renews my IP address (which it does from time to time).
    Another workaround is to use the "DNS Servers" settings noted in step 2 (above). However this is also problematic if I want to keep my network settings simple. It requires a "Home Network" location and an "Office" location. Still not preferable, but it's a workaround.
    Regression:
    n/a
    Notes:
    I would like AirPort's DNS settings to be overridden in the same way OS X allows DNS settings to be overridden. The user interfaces suggest this is possible but it is not. It's only possible in the OS X case. Having the same flexibility on the AirPort would be most welcome.

    Afraid of the answer...sheesh...you must be a child. This has nothing to do with masquerading anything. The issue being discussed here is that people want to manually assign a dns server address via the new AEBS, while maintaining DHCP for IP address assignments through their ISP. For example, I would like to have opendns.com take care of all dns addressing at the router level, even though I have "Configure IPv4" set to "Using DHCP". If you do not understand why one would want to use something like opendns.com, please visit their website and enlighten yourself. The fact that the dns server address fields are editable when set to "Using DHCP" leads one to believe that you can manually assign a dns server in this configuration; however, under firmware 7.1.1, you still cannot. The previous iteration of the airport hardware can do it, as can nearly any router you pull off the shelf. In addition, this is something that can easily be done at the individual-computer level in OS X; however, many people would prefer to administer their network at the router level. That is the issue being discussed here. Either you can't read or you are purposely derailing the thread.
    iMac 24"   Mac OS X (10.4.9)  

  • Can SquirrelMail be set to serve on a port other than 16080? How?

    SquirrelMail serves OS X webmail on port 16080 out of the box. However, my company intranet has internet port 16080 closed... so, SquirrelMail is inaccessible. Can SM be set to serve on port 80? Is there a reason why it doesn't serve on this port by default? (I'm also running Tiger Server Apache web server on the same box; Rumpus FTP uses port 8000 for it's web serving.) Is SM a "web server" which would conflict with Apache on port 80.. is that the reason for port 16080? How can I change SM to serve on a port I can access from the office... like, say, 8010?

    I tried this setup, Jeff... gets me to the login page fine... but doesn't seem to recognize any of my email logins (all which are virtual).
    I have a website setup as MAIL.MYDOMAIN.COM... port 80...performance cache OFF... and pointing to /usr/share/squirrelmail. I tried these settings with OPTIONS-->WebMail both checked and unchecked. Doesn't seem to make any difference.
    So, does the problem have to do with the fact that I have Mailstore partitions setup by domain, as per Alex's guide to Making Virtual Users?
    As Alex mentioned, turn off the performance cache.
    You can change the port in ServerAdmin to something
    else (you mentioned 8010, which is fine).
    You may need to create a seperate Site for Webmail if
    you don't have one already.
    To take this a step further....
    My preferred (non-SSL) setup is this:
    - Assuming you already have DNS of mail.domain.com
    - Create a site for mail.domain.com (port 80)
    - In Sites/General, port 80
    - In Sites/General Web Folder
    "/usr/share/squirrelmail"
    - In Sites/Options, turn off Perf Cache.
    If you do the above, when you hit
    http://mail.domain.com
    You will go straight to Squirrelmail without having
    to add a /webmail to your url and without having to
    use a different port #.
    Jeff

Maybe you are looking for

  • Inutilização de NF-e Erro GRC 109 - Não sincroniza com ERP.

    Foi enviada uma solicitação de cancelamento de uma NF-e que não estava autorizada para a SEFAZ. Acredito que não foi aguardado o tempo de retorno da SEFAZ e na sequencia foi solicitada a INUTILIZAÇÃO. Após esta ação, ocorreu o erro : Document 0006776

  • How to open and read data from text file in PL/SQL

    We have a project ,need to open a file containing entries of data ,then process those data records one by one to update the database.This operation shoulbe be done in the database enviroment. Is there any hint about the file operation in PL/SQL? How

  • How to populate the sales order as a cost object in cost element posting

    When posting sales to a cost element the error comes up stating Account ******** requires an assignment to a CO object. This comes from the sales (repair) order and I would like to pass the sales order and line as a cost object. Could someone please

  • Mail search doesn't work at all / disabled?

    I had some spotlight issues and the index was successfully rebuilt.  Mail however, still has a disabled search functionality.  If I enter a term in the upper right search field no results appear.  Rebooting and restoring Mail don't help.  Mail is not

  • Mpeg from India giving me the business...

    Howdy all, I have received some files from a doctor in India, he sent me some mpeg video's to edit. Of coarse, FCP wouldn't import them, and gave me a file error. So I exported them out of Quicktime player to ProRes, but that won't take either. The f