How to configure DNS server to redirect all web traffic to one external website?

I'd like to use the DNS service on my OS X Server as a way to force all all web traffic to one specific, external website. Not quite sure how to go about configuring it, though - any recommendations?
(BTW, this is, obviously, not our primary DNS server; I intend to silently update the preferred DNS server for users who fail to complete their timesheets in order to force the issue)

Web clients don't generate uniquely-identifiable DNS queries; there's no SRV request or related traffic that you could select on and spoof.  So if you do implement this, everything querying the spoofing DNS server will get the spoofed host, or you'll have to spot specific queries that are likely web queries; Facebook, Google, Bing, etc. 
If you still want to implement this, then I'd probably replace the DNS server with a runt DNS server (maybe hack dnsmasq or maraDNS, or create yourself a trivial DNS server) and have that always return the specified IP address.  This avoids having to hack BIND to be universally authoritative, which is probably on par with hacking a simpler DNS server to always return a fixed IP address, and the latter is probably easier to undo.
A firewall can spot TCP port 80 and port 443 traffic, unlike a DNS server.   Firewalling outbound port 80 traffic is more typical of these requests, and either trap that traffic to a specific web page based on the capabilities of the firewall, or the web proxy approach that Camelot suggests.  There are folks that tie access into the web proxies into external authentication and related; that'd be able to do what you want.   Web proxies are usually combined with firewall blocks, as most sites want only the web proxy to have external access, too.  But this is also rather more pieces than a DNS redirect, too.

Similar Messages

  • How to use DNS server for name resolution for items which don't exist in active directory domain controller DNS

    Dear Experts,
    In our office we have a domain controller call it 'Office.com', all computers and corporate servers e.g. exchange, antivirus etc. are member of this 'office.com', it is also having a DNS. All users in office have there preferred DNS set to the corporate
    DNS
    We are working for ministry and offering services to them from our data center so have many servers which are for ministry but they are in our data center. For all these servers we created another DNS server which contains all entries for these servers in
    forward and reverse lookup zones. In this DNS we also created a forward lookup zone for our corporate servers and zone name is 'office.com'
    What we are trying to have is name resolution of all servers which are listed in other DNS build in our office on Win 2008 R2 for ministry servers
    If the user change his preferred DNS to ministry DNS he can resolve the ministry server but then we can not control any thing through group policy since they are using other DNS and not the corporate DNS. 
    How this can be done ? like any group policy applied to corporate domain controller must take effect on users and in addition to this user must also be able to resolve server names in ministry project DNS
    Please assist ASAP.
    regards,

    Hello,
    ok so the GPO setting doesn't apply in any case.
    Clients machines use the first DNS server in the list of configured ones on the NIC. If that one is available search for additional DNS servers will stop.
    What i can not really understand is your description about the second DNS server. This should normally either another DC with AD integrated DNS, so everything is replicatedwithin AD replication or you use a secondary DNS on domain member server that pulls
    the informations from the Master.
    It sounds for me that you have configured a machine with DNS server role and created manually the zone with the same name as the domainand manually create there the required A records?
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • How to add DNS server to CER after Server has been Built

    How to add DNS server to CER after Server has been Built?
    The reason why, the CER 1.3.1 that I upgrade to 7.1, had the switch list by hostname,
    The install of 1.3.1 had the LMHOST file editted with all the switch names.
    Is there such thing as a host file on 7.1 CER? If not, that is where I need to add the DNS server now. As they will have to add the switch hostnames to the DNS server.
    Thanks
    Kallol

    I found where to set the DNS via CLI...
    admin:set network dns
          set network dns options
          set network dns primary
          set network dns secondary
    Also it requires me to configure the domain name.
    set network domain name

  • How to configure Proxy server on Solaris 10 - SPARC

    Hi All
    Please guide on how to configure Proxy server on Solaris 10 - SPARC ?
    What tool should be used?

    Proxy configurations are most often done within the application software that needs that function and not necessarily done in the OS.   That permits you to make very specific settings and not just generic global settings that could conflict with other software.
    Can you tell us what research you have done on the topic? 
    For example, have you glanced through a Google search on "solaris web proxy" ?
    If you are hoping to use a specific web server application your forum post might be better placed in a forum space for that software instead of in a general OS forum space.   What application software will you be using?

  • Do I have to configure DNS server before configuring VPN server?

    Hi,
    In my journey to get this mac os X server to actually work...
    Do I need to configure DNS server on Mac OS X server first before setting up VPN or ICHAT server?
    Or, it seems that I can use my D-Link Gaming router as a DNS server.
    I think I'm most confused with which numbers to enter as my DNS... is it the local IP of my mac mini being used as the server (192.168.0.1) or is it the IP address assigned to my cabel modem?
    There are so many posts on this, I am feeling lost.... has anyone found a really great step by step that explains how to do this?
    thanks
    Ethan-

    Ethan,
    My experience is that it is absolutely necessary to have an external DNS server setup correctly BEFORE you even start installing your OS X Server, so why not keep it. Still, once you have set up OS X Server, you can also use its own DNS server, but be VERY careful to set it up correctly. DNS mistakes, especially the ones regarding server's own IP addresses, are usually not forgiven by OS X Server. Many of us here have learned that the hard way. As for me, I prefer to have a dedicated DNS.
    Best regards,
    Andrus

  • How to configure DNS on RED HAT 5,4

    Hello Linux experts
    I'm need to configure dns service for Oracle RAC 11gR2
    For dns server, I'm using the hosts for RAC.
    How to configure DNS on RED HAT 5.4 ?
    Anyone have a manual for do this ?
    Best Regardss

    Regardless of whether your will find tools or perl scripts like h2n, or manage your configuration files directly, you will need to get yourself familiar with basic DNS concepts and terms. A DNS cluster is a number of nameservers that share DNS records. You may perhaps rather want to setup a DNS server system consisting of a master and slave DNS server for your authoritative zone (domain name) on each node, but also configure for DNS forwarding and perhaps caching to public DNS servers on the internet. You may want to configure primary and secondary DNS records on your client sides in /etc/resolve.conf, perhaps also using some round-robin or timeout options.
    I'm afraid Google will be your best friend. You may find below links helpful in your approach:
    http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_%3A_Ch18_%3A_Configuring_DNS
    http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/domain-name-server.html
    http://www.redhat.com/magazine/025nov06/features/dns/
    http://www.chinalinuxpub.com/doc/www.siliconvalleyccie.com/linux-hn/dns-static.htm

  • How to configure SMTP server for osb 10.3.1

    Hi All,
    Can anyone share information on how to configure SMTP server for osb 10.3.1
    and then how to send an email from osb 10.3.1
    Thanks in Advance!!

    Thanks a lot!!
    I configured the same way. When I am sending email to an account on the same domain as my SMTP server is the sending of email is successful. But its giving error when I am trying to send an emain to an account which is on different domain. It giving error as "Operation has been cancelled"
    Please suggest something.

  • How to configure DNS ???

    Hi everybody, please tell me how to configure DNS. Which file is needed configuring???
    Thanks alot.

    Excuse me, maybe u miss understanding about me. I'm not going to keep that information for myself. I don't know that u are interested in it. I always wanna get knowledge from everybody and share my knowledge ,hope that it is useful to someone.
    My problem was: i didn't assign defaultgateway to my networking interface (IP 192.168.1.45). I connect internet through a Lan (through another machine IP 192.168.1.12), so if i wanna to use DNS server, i must route my machine to Gateway in order to connect to DNS server.
    Thank u for a straight quote. I'm Vietnamese. We are friends !!!

  • How to configure http server in oracle 10g

    Hi
    I am configuring apex 3.2.1 on oracle 10g 10.2.0 I need help how to configure http server bec i did not find any Apache file or folder in 10g if it is then how .
    Arshad

    Hi
    I use to configure only this in $ORACLE_HOME/forms/server/forms.conf (and restart ias):
    AddType application/x-orarrp rrp_
    AddType application/x-orarrp-text rrpt
    AddType application/x-orarrp-ps rrpp
    AddType application/x-orarrp-pdf rrpa
    AddType application/x-orarrp-rtf rrpr
    AddType application/x-orarrp-html rrph

  • How to Configure Exchange server in EP6.0

    Hi
    How to configure mailing server in Portal
    With Regards
    Azhar

    Hi Azhar
    You can specify your mail server on the Portal.
    Go to System Administration -> System Configuration -> UM Configuration.
    You will find a field there to specify your mail Server.
    You may also have to specify this in the config tool of your WAS Server to enable email notification
    Take a look at <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/07/9bda3d5ed05610e10000000a114084/frameset.htm">this</a> .
    Hope that helps.
    Best Regards
    Priya

  • How to configure portal server with the Backend Oracle database

    Hi Portal Experts,
    we are planning to install Netweaver 04s sp stack 9 full java edition with Oracle 8i on windows platform.
    we have the installation docs of portal but we didn't have any idea about how to configure Portal server with the Backend Oracle database at the time of installation or after ost installation of portal.can anyone provide the documentation about this or guide me how to achieve this.
    PLZ share ur views---your help would be highly appreciable.
    Regds
    Phani.

    HI
    if you r working in Sap enterprise portal use for connection url
    jdbc:sap:sqlserver://ilsql01.tlv.sap.corp:1433;DatabaseName=Northwind
    ilsql01.tlv.sap.corp:1433 this is your portal url with port number
    Northwind is your database name.
    for dirver you need to give
    com.sap.portals.jdbc.sqlserver.SQLServerDriver
    in case if you r working on other than sap say windows along with oracle try to use
    Connection URL as jdbc:oracle:<drivertype>:@<database>
    Driver name as oracle.jdbc.driver.OracleDriver
    ex jdbc:oracle:thick:@localhost:3036:mydb
    Oracle implements two types of JDBC drivers:
    Thick JDBC drivers built on top of the C-based Net8 client, as well as a Thin (Pure Java) JDBC driver to support downloadable applets. Oracle JDBC drivers are used to create JDBC applications to communicate with Oracle databases.
    Oracle extensions to JDBC include the following features:
    Data access and manipulation
    LOB access and manipulation
    Oracle object type mapping
    Object reference access and manipulation
    Array access and manipulation
    Application performance enhancement
    *************if the information is helpful to you please reward points************

  • How to configure DNS to support ipv4 and ipv6

    I have a 2008 r2 domain controller in my lab.
    i'm doing Exchange 2007, 2010 and 2013. I have mix Windows 2008 r2 servers for other applications.
    i'm running into issues where i'm thinking it is time to have both IPV4 & IPV6 to run on all lab machines.
    I can't get a clear picture on how to accomplish a mix environment. in the DNS administrator do I create a new "reverze lookup zone" with only the IPV6? or do I have to create a new record in the "forward lookup zone" to with both IPV4
    & IPV6 which the later points to the new "reverse lookup zone".
    I see a lot of internet article but little on "how to".
    or on the DC should I enable the DHCP role to support the IPV6?

    1. You assign an IPv6 address to the domain controller/DNS server
    One method is letting this site (legitimate) create a random private IPv6 range for you:
    http://www.simpledns.com/private-ipv6.aspx
    For example:
    fd06:fcde:8b4e:d6bd:xxxx:xxxx:xxxx:xxxx
    You can configure the x's like this (you cannot leave the x's there):
    fd06:fcde:8b4e:d6bd:0000:0000:0000:0001
    If you close and open IPv6 properties, or do an "ipconfig /all" you'll see that the IPv6 is abbreviated as follows:
    fd06:fcde:8b4e:d6bd::1
    That's normal.
    If you look in your forward lookup zone, you'll now see this IPv6 address (you may have to register that manually - ipconfig /registerdns - but it seemed to happen automatically for me.
    So there is no need to create a separate forward lookup zone for IPv6.
    OK, but what about the reverse zone?
    2. Create reverse lookup
    In DNS Manager (what you call administrator), right-click on reverse lookup zone, select New Zone, click, Next, Next (default values are fine) until you choose between IPv6 and IPv4. Selecft IPv6 of course.
    Then enter your prefix as shown here:
    That's it. The reverse lookup information is configured automatically (your prefix " backwards").
    Now, unlike with the forward lookup zone, my domain controller does not seem to be registering its name in the reverse IPv6 zone: there's only the SOA and NS record.
    But that's another question.
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

  • How to configure email server so that I can reply without "relaying" issues

    I've setup the Snow Leopard Server 10.6 and setup the email server. The problem we have is that when a user sends an email using an ISP other than the one where the server is connected, or replys to an email using a different ISP it gets bounced with the message that our server doesn't allow relaying. That is correct. We didn't set it up to relay because of concerns that we might be blacklisted as a spammer. Can you tell me how to configure the email server settings so we don't have this bounce problem and can send and reply using our domain.com email address regardless of the ISP we're connect to? Thanks

    Such a seemingly innocuous question. If only the answer were that simple.
    There are many factors in getting a working mail server.
    For one, if you expect to receive incoming mail for your domain you will need a static IP address with matching forward and reverse DNS entries. You might already have this, or you might not. You don't say anything about your network environment to know.
    Once you've addressed the network side of things there are two common elements to implement.
    First is you tell the server about your local networks - the ones that you trust users on. Typically this is your private LAN (e.g. a 192.168.x.x network) where your users are. This works well for an office environment and lets users send mail unhindered, but doesn't cater to remote users (you probably cannot whitelist all the remote user's IP addresses, especially those that are mobile).
    For those users you implement SMTP Authentication. This ensures the mail client authenticates to the server using a valid username and password. If your user can authenticate then you inherently trust them and allow the mail to be relayed. If the user is remote and cannot authenticate then they're out of luck.
    All of this can be configured in Server Admin.

  • ISP won't let me use my configured DNS server-what to do?

    I put Open DNS servers in my Mac OS X Network Preferences (OS X 10.6) for when I use DHCP connections. This works fine on one network (DHCP to a wireless router connected to internet via DSL), but when I connect to another network, I find that I end up using the network's DNS servers - It appears my computer is sending a request out for the Open DNS IPs (208.67.222.222 or 208.67.220.220) according to Little Snitch's network monitoring, but the ISP seems to be internally changing it to their own DNS server within their network before the domain name is looked up. I can verify whether Open DNS is really used by visiting welcome.opendns.com/ or by going to the mispelled craigslist.og (which Open DNS redirects to the classified ads). The troublesome situation is when I connect by wifi DHCP to my TMobile cell phone.
    What can I do about these sorts of ISPs? Is there anything I can do?
    Also, is there a page I can visit to tell me the IP address of the actual DNS server used, not just what I configured in my Mac?
    Thanks

    - Transfer iTunes purchases to the computer by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - For other music you need a third-party program like one of those discussed here:
    Copy music from Ipod to new computer...: Apple Support Communities
    - After all the stuff is on your computer, connect the iPod to yur computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up.
    - Restore the iPod from that backup.

  • How to configure mail server

    Hi All,
    we are in a process of configure mail server in one of our sap instance.
    i have done the following settings,
    1. In t-code sicf      under virtual host SAPCONNECT, 
    2.   I  have added  in host data * : *
    3.under handler list CL_SMTP_EXT_SAPCONNECT.
    4. now in scot i have added my deault domain under "settings -> default domain " <company name.com>
    5.on double clicking on SMTP i have added the following entries
      SMTP CONNECTIONS : mail host :  smtp.gmail.com
                                               port : 465
                                           code page : 0
    SUPPORT ADDRESS TYPE : i have set internet address to *
    did i miss any of the steps in configuring the SMTP mail server.
    after sending the mail when i look in to t code  sost the message number displays "672"
    please advice how can i  configure mail server for incoming and outgoing
    Thanks in advance,
    Vardhan

    Hello Vardhan,
    I suggest you to go through the below links and cross check the configuration.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/9c25413fabef23e10000000a155106/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    http://help.sap.com/saphelp_470/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    Thanks,
    Siva Kumar
    Edited by: Siva Kumar Arivinti on Jan 19, 2012 3:16 AM

Maybe you are looking for

  • Jasper report  for pdf and html

    Hi friends I am Gopi I am doing project in servlet and jasperreport in tomcat. I save my path jasperreport for Html and Pdf reports. when i click the jsp button Export to pdf and Export to Html, I need to open this files in new pdf application and ne

  • Can we get a message in report run times without  red color X  button!!

    Hi Gurus!! I want to show a successful message after report is successful but when I user RSRW.message(................) then everytime I get red colr X button with message which also comes when there is error. I want to get rid of red X button. Plea

  • Needing script to move files with name that starts with

    Here is part of the script that takes a excel file for the list to duplicate files from one folder the another. I would like it to use file name starts with instead exact file name. If I can get this to work I will not have to have a try for .jpg and

  • Mac booting problem - Please help! very, very desperate!

    My mac was being very, very slow so I turned it off, then as it it was booting it was taking ages so i restared in safe mode. While booting in safe mode the black bar at the bottom goes around 2/5 of the way across and then my macbook just switches o

  • Events in LabVIEW 6.1

    The event structure in LabView 6.1 is almost of no use, because it only reacts on user inputs. As consequence it only makes sense to use them in a top level VI. Even the argument that you can avoid polling (and safe processor time) if using the event