Proper DNS Setup for SLS

I have a new MacMini SLS and I need to make sure I am doing things right. I have BrightHouse Business Cable service with 5 static and one with RDNS for apple.ourdomain.com pointed at 1 of the IP's which is currently connected to our new AEBS. The AEBS is DHCP for LAN side and has been setup with ISP DNS.
When setting up SLS, the server finds that it's internet hostname is apple.domain.com as it should but computer hostname is just always set to apple. Once server is running all e-mail sent comes from [email protected] instead of domain.com which is fixed by adding an alias in the hosting section of mail. But the server itself in DNS is set for the domain apple.domain.com instead of domain.com with an NS of apple.domain.com is this ok? If during setup I change apple.domain.com to just domain.com then dns looks funny again as the domain would be right but the ns is then just set to domain.com instead of apple.domain.com so either way in my mind it's wrong. I just want to do it once and right so that the server runs smoothly and I am not sure what to do.

Works out just fine.
Primary address = 10.0.200.2
Current HostName = apple.ourdomain.com
DNS HostName = apple.ourdomain.com
The names match. There is nothing to change.
dirserv:success = "success"

Similar Messages

  • Help with Proper DNS Setup for Leopard Standard Server Setup

    Hello All,
    Problem Description-
    I was reviewing some training today on DNS setup and checking for proper setup with the sudo changeip - checkhostname tool and I seem to have an incorrectly configured DNS setup. So I need some help on correcting it. When I go to the "Server Preferences" tool I cannot log in using apple.ourdomainname.com instead in order to use the tool I have to input localhost as the server name. Now I just thought that the system was broken or something and with the help of my training I now see it's a DNS problem. I thought I had everything proper since I followed the steps of creating proper DNS/RDNS entries with my ISP. Now I am stuck wondering what else isn't working properly due to the DNS issue. Thanks in advance.
    Technical Info-
    My ISP provides us with 5 static IP's and we have asked them to create entries and verified the setup of apple.ourdomainname.com = x.x.x.x which is one of our public IP's assigned currently assigned to the WAN port of our Apple Airport Extreme. We have also had them create a PTR record which also is present, verified and functional. Our MacMini running 10.5.5 is connected directly to one of the ethernet ports on our Apple Airport Extreme which is our NAT/Firewall for the LAN. So during the setup of the Standard Server install the OS configured the Airport with the required ports for chat/web/vpn. And mobile Mac's can VPN in and gain folder access and web works fine too. We don't use the e-mail portion so I can't say how that works. The server is using the DNS of 10.0.200.1 which is the IP of the Airport and the airport is programmed with the DNS of OpenDNS servers 208.67.222.222 and 208.67.220.220. The reason for this whole long shpeal is that I want to give as much technical background as possible for the best possible help.
    Thanks
    DM

    What happens when you use 'Localhost' instead of 'localhost' (i.e. capitalizing the 'L')?

  • I need help with proper DNS setup for 10.5.8 Server

    I'm administering a 10.5.8 server that I sold and setup about a year ago. I'm experiencing issues with getting iCal server to be happy. All of the clients are running 10.5.8, but I'm running 10.6.1. I've heard from others that connecting iCal in 10.6 to a 10.5 iCal Server should be no problem.
    I'm beginning to think that I have DNS issues. Probably because I'm not and never have been 100% certain how to set it up completely correctly. I used to be able to get Kerberos tickets, but now I can't. With the new "Ticket Viewer" in 10.6, it asks for two bits of information. First is "Identity" where I'm guessing I should put [email protected] and then password. When I do this I get an alert dialog that says "Kerberos Error -- cannot resolve network address for KDC in realm example.com"
    The server is a Mac Pro tower with two Ethernet ports. En2 is connected directly to the Internet and has a static IP with a domain name assigned to it. We'll call it "example.com" for the purposes of the discussion. The En1 is connected to the network switch and has a static LAN IP of 192.168.1.250. All clients inside and outside are able to reach the server via domain name for WWW & AFP, no problem.
    nslookup on the static IP address returns "example.com" and nslookup on "example.com" returns the correct static IP address. Open Directory is running and happy including Kerberos. The LDAP search base is "dc=example,dc=com". The LDAP search base is a concept I haven't quite grasped, so I'm just going to assume it's correct.
    The domain name is hosted outside by a service provider that forwards all "example.com" requests to the server with the exception of mail.
    In DNS, I have three "sections" that look like this:
    Name Type Value
    1.168.192.in-addr.arpa. Reverse Zone -
    192.168.1.250 Reverse Mapping example.com.
    000.000.00.in-addr.arpa. Reverse Zone -
    000.000.000.000 Reverse Mapping example.com.
    com. Primary Zone -
    mail.example.com. Alias mail.our-email-isp.com.
    example.com. Machine Multiple values
    www.example.com. Machine Multiple values
    NOTE: the zeros aren't actually zeros, they are the static IP assigned to the server/domain
    When I select the top element "1.168.192.in-addr.arpa." down below "Allows zone transfer" is NOT checked. Nameservers shows the zone as "1.168.192.in-addr.arpa." and the Nameserver Hostname as "ns.example.com."
    When I select the next line down "192.168.1.250", Resolve 192.168.1.250 to: example.com.
    When I select the "000.000.00.in-addr.arpa." element, it has the same settings -- nameservers "000.000.00.in-addr.arpa." and "ns.example.com."
    When I select the next line down (our static IP), Resolve 000.000.000.000 to: example.com.
    When I select "com." the admin email is populated with a valid email address, Allows zone transfer is NOT checked. In nameservers, Zone is "com." and Nameserver Hostname is "example.com." The mail exchangers are mail2.our-email-isp.com. priority 10 and mail.our-email-isp.com. and priority 20.
    When I select the machine "example.com." it shows both the real-world static IP and the 192.168.1.250, same with "www.example.com.".
    Am I doing something wrong with this setup? Should "com." be the primary zone or should that be "example.com." ???
    I've been thinking about getting rid of the DNS entry for the 192.168.1.250 address altogether, but will the clients in the office suffer performance issues??? I do not think that the client workstations are configured to get DNS from the server anyway. Should the "www.example.com." record be a Machine record or should it be an alias record?
    Any help you have to offer is greatly appreciated! Thanks!
    In the meantime, I'm going to look around and see if I can understand "Allows zone transfer" and LDAP Search base a bit better.

    Okay, I found a lovely article at the following address which I think helps me to clarify what I'm doing wrong. Despite that, I'd still like to have any feedback you have to offer.
    http://www.makemacwork.com/configure-internal-dns-1.htm
    Also, when editing DNS entries, Server Admin likes to set the nameserver to "ns." -- whatever your domain is. Should I be overriding that and if so, replace it with what?

  • DNS Setup for Lion.

    I'm a little confused with the DNS setup for Lion Server.
    My scenario is this.
    I have a router, IP 10.0.0.1.
    Server running DNS is manually set to 10.0.0.253.
    FQDN for the server is server1.mycompany.net (it is proper registered and live domain name I have used)
    Externally I use Dyndns to point external folks to mycompany.net, and through the correct ports I can hit the router/gateway with the URL. This confirms that Dyndns is working.
    I have forwarded POrt 80 on the router to 10.0.0.253.
    Currently I have set DNS to have a zone of mycompany.net. Within the zone I have a machine record server1.mycompany.net set to 10.0.0.253
    I think I have set the reverse lookup correctly, but the way it is shown in the DNS record looks strange (IP address looks backwards and says something about ARPA.
    Web Server is running on the server.
    Currently if I go to a web browser inside the LAN and use either www.server1.mycompany.net or www.mycompany.net (or the same without the www) I get an error message. The same occurs outside the lan on an internet connected machine.
    If I enter 10.0.0.253 from inside the lan, I get the Mac WebServer default screen, showing the server is working fine.
    I'm guessing I have made a mess of setting up DNS.
    I'm looking at some point set up a small website, just to prove to myself I can get this working, but I can't work out what I have done wrong.
    Can anyone suggest where to look?
    TIA

    Right now down to diagnostics
    in terminal on server type
    william:~ william$ dig www.wenatcheefirst.org
    below is what i get  copy what you get
    ; <<>> DiG 9.7.3-P3 <<>> www.wenatcheefirst.org
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29412
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 6, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;www.wenatcheefirst.org.                    IN          A
    ;; ANSWER SECTION:
    www.wenatcheefirst.org.          3600          IN          CNAME          wenatcheefirst.org.
    wenatcheefirst.org.          3600          IN          A          205.186.154.164
    ;; AUTHORITY SECTION:
    org.                              126088          IN          NS          a2.org.afilias-nst.info.
    org.                              126088          IN          NS          d0.org.afilias-nst.org.
    org.                              126088          IN          NS          b0.org.afilias-nst.org.
    org.                              126088          IN          NS          a0.org.afilias-nst.info.
    org.                              126088          IN          NS          c0.org.afilias-nst.info.
    org.                              126088          IN          NS          b2.org.afilias-nst.org.
    ;; Query time: 430 msec
    ;; SERVER: 192.168.88.250#53(192.168.88.250)
    ;; WHEN: Fri Apr 13 20:08:06 2012
    ;; MSG SIZE  rcvd: 208

  • Query on DNS setup for Active Directory for a new data center

    I have third party DNS appliances providing DNS Service for Active Directory (Windows 2008 R2) and there are also secondary DNS servers, which are MS DNS server with a secondary zone configured, for redundancy. I have to setup a new data center
    and move servers/services to this data center. In this scenario, can I install a new Microsoft DNS server with a secondary zone and use this as the primary DNS Server for all the member servers at this new location ? I am aware that this new DNS server will
    not be able to make any updates to the secondary zone and for that purpose, is there anyway to redirect such requests to the DNS appliances in my current data center across the WAN ? I am trying to avoid purchasing a new DNS appliance for the new data center
    and want to know what are the alternatives I have.
     

    im not entirely sure by your setup, as normally you would use AD integrated zones for DNS in an AD environment - although there are other options as you have already setup.
    the fact the zone is a secondary zone in DNS server terms doesn't mean you can't point your clients to it as their primary dns server. They will quite happily resolve names using a secondary server.
    so as long as your dns devices are correctly setup to support the additional secondary zone I see no reason why you couldn't do this.
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • Help with DNS setup for LAN only

    I have a Mac Mini SNS 10.6.8 as our company's local standalone fileserver.
    Everything has ran great for the past year (still is), but now I want to try and setup DNS for more control and services.
    The server host name is servername (no FQDN), which shows up in Server Admin as servername.local.
    I read and followed Hoffman Labs great step-by-step, but must have missed something, since I still cannot get DNS resolution.
    Here is a brief summary of the Server Admin settings:
              Host Name                    servername
              Host (Server) IP          192.168.4.2
              Router IP (also default public DNS IP) 192.168.4.1
              Bonjour                    Wide Area  =  Not enabled
              Settings                    Accept recursive queries  =  localnets
              Settings                    Forwarder IPs  =  8.8.8.8  &  8.8.4.4  (Google Public DNS)
    now...          Zones                              1 Primary Zone  =  companyname.net (we own the domain)
                                            Primary Zone Name  =  companyname.net
                                            Nameserver Zone  =  companyname.net
                                            Nameserver Host Name  =  servername.companyname.net
                                            2 A Records:
                                            servername          192.168.4.2
                                            user1                    192.168.4.3
                                            Reverse mapping - automatic - OK
    Testing          Ran sudo changeip -checkhostname
                        Results:
                                  Primary address          =          192.168.4.2
                                  Current hostname          =          servername
                                  The DNS hostname is not available. Please repair DNS and re-run this tool.
    I must be doing something wrong, but I don't know what it is.  Please help.

    Did you intend to have both "example.com" and "example.net" listed there?  Are those domains really different?  I'm going to assume that was an obfuscation error.  (This is part of the "fun" of obfuscation, unfortunately.  Of having to differentiate errors in the actual configuration from errors that were introduced during the obfuscation.)
    >Oddly, even though I had manually assigned our Comcast gateway's DNS to Google DNS IPs, the gateway summary still shows up as Comcast's DNS server IPs.  So I removed the manually assigned Google DNS IPs from the gateway.
    The gateway (or whatever you're using as your DHCP server) should be configured with the DNS server address of 192.168.4.2.  All other hosts on your network (if you're planning to use your local DNS everywhere on your LAN) should also reference 192.168.4.2, either through an explicit static configuration, or as the address that was received from the DHCP server.
    And as for IP routing, are all your hosts, network printers, network gateways, DHCP servers, etc., all in the range of 192.168.4.1 to 192.168.4.254?  (They should be, if you're using a /24-class 255.255.255.0 subnet mask.)
    But then I don't know where this configuration has gone off the rails...  (Over the years, I've seen and have made my own configuration errors, I've been "bagged" by DNS caches, and I've hit various bugs in DNS implementations.)  What you have stated here should work.
    I'd start at the top of the DNS configuration article, and not stray from what is written there.   That there has been Google DNS and have had ISP DNS configured at the gateway does mean there were some areas that have strayed from the article.   I'd suggest following the DNS server configuration directions exactly.
    Setting up DNS services with OS X Server isn't difficult, but it can be a little fussy. 
    If you don't understand something that's written in that article -- or if you believe you need to enter something different than what's listed there -- then please stop and ask about it.  Either ask here, or ask over there.  (This feedback also helps improve that article.)
    Straying from what's written in that article is certainly and entirely feasible, but that's something best left until after the adminstrator is more familiar with running a DNS server.  Once you know how and why and where you can stray, there are all sorts of things you can do within a DNS configuration.

  • DNS Setup for 11i DR Failover

    HI
    I am implementing a DNS Level DR for 11i Applications. Could please some share the best practices for this type of setup. I will be creating a exact mirror of the primary using Hitache Data Storage.
    regards
    yadava

    Hi
    I think i am not clear with the requirement. I am using mirror copy of the filesystem using HDS and the seconday will up if only the primary goes down using DNS lookup. The secondary will be mirrored every 4 hours.

  • Best DNS setup for public-facing Mac server with no NAT?

    What's the best way to set up the DNS server as a member of an existing domain with nameservers elsewhere for a public-facing server with no NAT?
    We own the domain myexample.com and it's name servers and zone files are on a hosted linux server with mail/web server services.
    We now have a Mac server hosted elsewhere and we want it to be a subdomain of our myexample.com i.e. macserver.myexample.com.
    We haven't enabled NAT or DHCP so the Mac server host network IP is a public IP. There is no LAN.
    When setting up the DNS server, what should the primary zone be? macserver.myexample.com, or myexample.com?
    Any advice would be great. Mr Hoffman....are you out there?

    You do need valid DNS services.  But you don't need to provide DNS on the same server.  And if you're not dealing with NAT, things can get easier.
    The easiest approach available is to not run your own DNS services here.   This assumes the OS X Server box is configured on a static IP address, but then that's something OS X Server needs/wants/ expects.
    Use the DNS provided by your domain registrar, and your ISP.    Or maybe on that Linux box, if that's publicly authoritative for the domain.
    Enter the host name and the IP address into the public DNS services that you have configured for the domain, or that you have at your registrar or ISP, or on that Linux box.
    You will need to have your ISP for the static IP configure a PTR record (reverse DNS) for the server, particularly if you're planning to run mail or related.

  • Correct DNS Setup for Mailman Virtual Host?

    DNS gurus, help please: I'm setting up a new Snow Leopard server that will rely upon an external name server. The single PTR record for this server will be the server's primary website, www.ourprimarydomain.topleveldomain . This primary domain name currently resolves to our current production server. I'm migrating Mailman before the primary website, and I'd like for Mailman to use a subdomain like mailinglists.ourprimarydomain.topleveldomain . This subdomain currently resolves to Mailman on our current production server. For testing before we switch to the new server, I'd like to set up a sub-subdomain development.mailinglists.ourprimarydomain.topleveldomain .
    Clear as mud? Here's what I think that I need in our external DNS, is this the best way?
    A: development.mailinglists.ourprimarydomain.topleveldomain -> new server IP
    MX: development.mailinglists.ourprimarydomain.topleveldomain -> new server IP
    PTR: none until we migrate primary website
    Will this break anything? If we need a PTR record, perhaps we should register an external domain name that isn't our primary website.
    What about C records? Should I register aliases?
    Thanks for your advice,
    Ted

    OK, I've changed my plan. I think that this is the best for my scenario:
    Register an external A, MX, and PTR for development.mailinglists.ourprimarydomain.topleveldomain -- I read that some email spam filtering systems use PTR (reverse lookup) as one factor in spam identification. So I want a PTR to begin with for testing. Once the mailing lists are migrated, I simply request that the current production domains point to the new IP.
    So ... I think that's it

  • Basic DNS Setup

    Heya Guys,
    I'm new to server and in need of a little bit of help.
    What I want to do is run a mail server (kerio) on my Mac Mini which is now running 10.5 server. I need to configure my server to run DNS but I'm not to sure on how to do it.
    My setup is,
    Static IP - Netgear Router - Mac Mini (DNS & Mail Server)
    Is someone able to out line a basic DNS setup for me so I know what I'm doing? Maybe using my domain name as example.com
    Cheers,
    Dave.

    Hello Tim
    +" . . . why would you use kerio mail server when leopard server includes a Mail server? . . ."+
    One reason is the built in Mail Service is not everyone's cup of tea. If you want to effectively use it you have to use to command line. Not everyone wants to do that. If you want out of office replies you have to bolt on something else. Same with an effective backup. If you want to use a unified address book and calendar you have to bring other applications into play. There is nothing wrong with any of that but if you want simplify ease of use and provide something that is an all-in-one solution then Kerio is pretty hard to beat.
    One of Kerio's features is its ability to remotely wipw mobile devices (Blackberries etc) if they have been lost or stolen. I can't find that feature anywhere in the Mail Service. It literally takes only an hour (including download) to get it secured and running all from an extensive but user friendly interface that works. If a group member receives a reply the other members in the group get to know and therefore have no need to reply in turn. I could go on. OK it can start to get expensive as you add more users and also because of the virus subscription, but it can be made to use OSX Server's built in AV and Anti-Spam filters. Neither do you don't need to install it on a Server box. Any client OS will do. All of its features can be accessed using the built-in webmail client supported by all the main browsers. For PC users in a mixed platform environment it behaves in the same way an Exchange Server does.
    It has its own built-in Archive and Backup Feature that does not involve stopping the Mail Service in any way. Its pretty good when you need to restore as well. From an administrative point of view it is as close to click and forget as you can get.
    Don't get me wrong I like Apple's Mail Server - I like the challenge. But given the choice and budget I would go for Kerio every time.
    Just an opinion.
    Tony

  • Not clear about dns service for new Mac 10.4 server

    Due to low budget, I am given the task to convert a powermac g4 into a Mac 10.4 server. I have already installed it as a stand alone master but will promote it to directory master as soon as I configure proper dns setup.
    Now my westell router shows that the dns is 192.168.1.1 and the domain name as myhomwestell.com, does that mean my zone name has to be westell.com? Can having both dns service conflict with each other or is it fine?

    http://discussions.apple.com/message.jspa?messageID=5409254#5409254
    lookup my posts on DNS setup to help you about. Please mention if you want to go full a Fully Qualified Domain Name Setup or just a local setup . Do you dispose of a fixed public IP address as well ?

  • Ideal disk setup for MDFs, LDFs, TempDB, and cube files?

    I'm about to build an enterprise SQL Server that will run both OLTP and our data warehouse (OLAP).  What is the proper disk setup for data files, please?  Is it something like:
    1 for MDFs
    1 for LDFs
    1 for TempDB
    1 for OLAP files
    Or something close to that?
    Thanks for any guidance.

    Please take a look at these URLs:
    How to configure the hard disks for optimal performance?
    Disk Partition Alignment Best Practices for SQL Server
    SQL Server Storage Best Practices
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

  • DNS settings for Airport Extreme Base Station

    This month's MacWorld suggests that changing the DNS setting of the wireless device might increase the speed of the connection. What setting should my Airport Extreme Base Station use.
    The Computer system says 10.0.1.1 and it works. When I entered the numbers they suggested I get no connection.
    Any suggestions?

    To change DNS setup on the Airport you need to put in the DNS change on the Internet tab. The Airport will always place itself as the main DNS server to the network clients that connect by DHCP, unless you set the Airport to static IP.. and it will use your ISP DNS server by default.. you can change them if you want. Just type in the new DNS you want to use.
    This month's MacWorld suggests that changing the DNS setting of the wireless device might increase the speed of the connection.
    http://www.macworld.com/article/2824564/slow-internet-edit-your-dns-settings.htm l
    In most cases this is really so minimal as to be insignificant. The airport should cache the regularly used DNS addresses and you can test it by ping to your local DNS or the DNS recommended by MacWorld??.. but honestly a few ms is not going to change the world. To the clients the local network addressing should be still using the Airport as the main DNS.. you can setup manually in each device a different DNS but that can give local network issues as it then has to find local clients by broadcast.
    I have a complex dns setup for other reasons.. getting past geolocks..
    If I ping my local ISP dns I get
    ping 202.76.170.228
    PING 202.76.170.228 (202.76.170.228): 56 data bytes
    64 bytes from 202.76.170.228: icmp_seq=0 ttl=61 time=25.422 ms
    64 bytes from 202.76.170.228: icmp_seq=1 ttl=61 time=25.984 ms
    64 bytes from 202.76.170.228: icmp_seq=2 ttl=61 time=25.504 ms
    64 bytes from 202.76.170.228: icmp_seq=3 ttl=61 time=24.933 ms
    64 bytes from 202.76.170.228: icmp_seq=4 ttl=61 time=25.297 ms
    64 bytes from 202.76.170.228: icmp_seq=5 ttl=61 time=25.258 ms
    64 bytes from 202.76.170.228: icmp_seq=6 ttl=61 time=24.915 ms
    If I ping google DNS. 8.8.8.8
    ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8): 56 data bytes
    64 bytes from 8.8.8.8: icmp_seq=0 ttl=57 time=37.985 ms
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=37.562 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=37.715 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=37.639 ms
    64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=36.845 ms
    If I ping the US DNS server.
    ping 208.122.23.22
    PING 208.122.23.22 (208.122.23.22): 56 data bytes
    64 bytes from 208.122.23.22: icmp_seq=0 ttl=51 time=187.209 ms
    64 bytes from 208.122.23.22: icmp_seq=1 ttl=51 time=187.398 ms
    64 bytes from 208.122.23.22: icmp_seq=2 ttl=51 time=186.681 ms
    64 bytes from 208.122.23.22: icmp_seq=3 ttl=51 time=187.030 ms
    64 bytes from 208.122.23.22: icmp_seq=4 ttl=51 time=186.731 ms
    64 bytes from 208.122.23.22: icmp_seq=5 ttl=51 time=186.967 ms
    It is very obvious the best ping is the ISP dns because the route path is shorter..
    Google is very good but still takes longer and of course dns in another country is much worse.

  • Proper Configuration of DNS server for our new branch office

    Hi All,
    Our new office will setup a new branch office with a routed network link to our HO. In HO, we have 2 domain controllers configured as AD and DNS just for fail over scenarios.
    How will we configure the DNS server of our 3rd domain controller which we will placed in the new branch office. What would be the proper settings of DNS server integrated to AD to work well especially to have a successful replication and communication to
    the 2 DC's located in HO?

    Hi,
    If you have multiple DC's in that site i would recommend using any of the partner DC's IP addresses as preferred one and secondary DNS IP to pointing to itself. Dont use loopback addresses configure it with actual IP addresses.
    If you have only one server in branch office point itself as the primary DNS and HO DC as secondary and tertiary.
    Make sure that all clients in your branch site are pointing to the branch DC as primary DNS server.
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • Why opening from java the rpt search for a JNDI when it's setup for a DNS ?

    I downloaded CR for eclipse 2.
    All is 'quite' working froma a java app.
    i've only a problem with an 'jndi name search error'. I'll try to explain.
    In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.
    From java code, i'll open the report, but when i try to export  to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.
    Why? Why opening rpt all is working, but opening from code NOT is working ?
    What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?
    *My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

    The .rpt has been originally created from an ancient version of Cristal report. probably the '8'.
    In an italian software called 'Business', the .rpt is populated for printing of invoices and similar docs.
    My society is trying to 'integrate' our software with the .rpt used from our customer.
    So we want simply open .rpt, add a new logo, set the selection for record and save as pdf.
    We so bought Cristal report 2008 (v.12 ), opened the .rpt, saved (so it 's now in a supported version).
    The sql server is located at 10.1.2.40, and is a Microsoft Sql Server.
    In my development pc I've installed Cr 12. I added a User DSN to point to Sql server at 10.1.2.40, at right DB with username and password. Opening from my development machine the .rpt and 'running' it, it display the data. Ok !
    I downloaded CR4 Eclipse 2.
    I open report using the unmanaged sdk. (to access it through file system, not via RAS), Ok.
    I set selection record. Ok.
    I execute .export with 'PDF' for format option and here I get an exception: the JNDI name 'CPR'  is not found. Where CPR is the DSN name setup into .rpt from Cristal Report 2008.
    So, no, i'm not trying to using the designer from Eclipse, but from the full application. But I must use the rpt at runtime to export some rendered records.
    What must I do to do this?
    CR4E only supports java based connections, so it is looking for the JDBC/JNDI name and won't look at the DSN's.
    How Can i setup at runtime a JDBC / JNDI connection ?
    I already have a 'connection' from my code to the sql server, using sqlserver jdbc driver v. 4 from microsoft. And executing query I see the results. So i have right driver, ip, db name, user name and password
    But is there a way to simply tell at runtime to my .rpt to use THIS connection? Or a similar connection...
    Thanks in advance for help provided to us. (we bought a CR license only for this work...)

Maybe you are looking for