Configure DNS & Search Domains in TCP/IP Settings via Terminal?

HI Folks,
I've been having a long standing battle trying to find out what is wrong with my machine, it's been running like a dog for a while and having recently added 2 new Macs to our network i recall that there was a setting missing - namely within the TCP/IP settings for the Built In Ethernet, the DNS Servers and Search Domains are not configured on my machine, but are on the new ones i've added (mine was my new foray into Macs so i maybe set it up wrong!)
However the main problem occurs when i try to edit the settings for the above from within System Preferences -> Network, i get a spinning beach ball of doom and have to Force Quit. Yet oddly i can access the setting fine when i am at home and not connected to the AD of the Windows Server Environment... which makes me think the events could be linked.... i thought it may have been Parallels and it's NAT settings, but given that all works perfectly at home i'm not so sure. Hence, as a process of elimination i'd like to try and get the correct settings for Search Domain etc to see if it helps, before i flatten the machine and reinstall Tiger completely!
The main issues i've been having with the machine can be found here:
http://discussions.apple.com/thread.jspa?threadID=854009&tstart=0
Thanks
Scott
MBP 2.0Ghz, 2Gb RAM, 100Gb 7200rpm   Mac OS X (10.4.9)   Parallels

Hi Phil (and others!)
I opted for the easy choice, which did work... and have added the Search Domain info etc whilst at home... and touch wood today things seem to be working better, i can easily access network preferences etc and have had no hanging apps as yet...
I did try and use different locations for work and home, but sadly i ended up with a spinning beach ball of doom when i tried to change the location at work, so it was a slightly pointless exercise!!!
The lookupd -configuration printout is as follows (no idea if it's useful in any way!)
ConfigSource: default
LookupOrder: Cache NI DS
MaxIdleServers: 4
MaxIdleThreads: 2
MaxThreads: 64
TimeToLive: 43200
Timeout: 30
ValidateCache: YES
ValidationLatency: 15
configname: Global Configuration
LookupOrder: Cache FF DNS NI DS
configname: Host Configuration
LookupOrder: Cache FF NI DS
configname: Service Configuration
LookupOrder: Cache FF NI DS
configname: Protocol Configuration
LookupOrder: Cache FF NI DS
configname: Rpc Configuration
TimeToLive: 60
ValidateCache: NO
configname: Group Configuration
TimeToLive: 300
ValidateCache: NO
configname: Initgroup Configuration
LookupOrder: Cache FF DNS NI DS
configname: Network Configuration
Thanks
Scott
MBP 2.0Ghz, 2Gb RAM, 100Gb 7200rpm   Mac OS X (10.4.9)   Parallels

Similar Messages

  • HT1218 I'm trying to set up a new iPad..it asks for my WiFi network.. I find the network..then it asks for information that I have no idea about: IP address, Subnet Mask, Routet, DNS, Search Domains, Client ID..also the headings are: DHCP,BootP, Static..c

    I am trying to set up my new iPad. it asks for a WiFi connection.. I have one..then the next page asks for these things:DHCP,BootP,Ststic then IP address, Subnet Mask, Router, DNS, Search Domain, Client ID  then HTTP Proxy  I have no idea what any of this means...can someone please help me???

    Thank you sooo much. I was so disappointed...I couldn't wait to get started with the new iPad..then ran into the problem. So simple. You made my day. Thank you for your expertise!!

  • Local DNS search domain issue

    Hi everyone,
    I have recently upgraded my Macbook from Snow Leopard to Lion, and since then I have some trouble with my local network.
    I work in a local network, so I have set up a local DNS and search domain to let me use local domain like google.com.in
    Everything worked fine in Snow Leopard but with Lion I cannot reach anymore all the *.in domains, I only can reach simple domain like "myserver"
    For the moment I've found a workaround by adding all my domains in the /etc/hosts file but it's a pity because I work with tons of domains.
    Here it is my scutil --dns cmd :
    resolver #1
      search domain[0] : in.infoborn.com
      nameserver[0] : 10.64.99.240
      nameserver[1] : 8.8.8.8
      nameserver[2] : 4.4.4.4
    resolver #2
      domain   : billi\.alan.members.mac.com
      options  : pdns
      timeout  : 5
      order    : 150000
    resolver #3
      domain   : local
      options  : mdns
      timeout  : 5
      order    : 300000
    resolver #4
      domain   : 254.169.in-addr.arpa
      options  : mdns
      timeout  : 5
      order    : 300200
    resolver #5
      domain   : 8.e.f.ip6.arpa
      options  : mdns
      timeout  : 5
      order    : 300400
    resolver #6
      domain   : 9.e.f.ip6.arpa
      options  : mdns
      timeout  : 5
      order    : 300600
    resolver #7
      domain   : a.e.f.ip6.arpa
      options  : mdns
      timeout  : 5
      order    : 300800
    resolver #8
      domain   : b.e.f.ip6.arpa
      options  : mdns
      timeout  : 5
      order    : 301000
    DNS configuration (for scoped queries)
    resolver #1
      search domain[0] : in.infoborn.com
      nameserver[0] : 10.64.99.240
      nameserver[1] : 8.8.8.8
      nameserver[2] : 4.4.4.4
      if_index : 4 (en0)
      flags    : Scoped
    resolver #2
      nameserver[0] : 8.8.8.8
      nameserver[1] : 4.4.4.4
      if_index : 5 (en1)
      flags    : Scoped
    Thanks guys.

    I have simplified my wpd.dat and im still having the same issue .. updates .dat below:
    function FindProxyForURL(url, host)
     if ((isPlainHostName(host) ||
     dnsDomainIs(host, ".vcnynt.com")) &&
     !localHostOrDomainIs(host, "vnet.vcnynt.com") &&
     !localHostOrDoaminIs(host, ".vcnynt.com"))
     return "DIRECT";
     else
     return "PROXY 10.17.2.13:3128";
    Tim Newman

  • Changing local TCP/IP settings via labview

    Is there any means of changing the TCP/IP Settings on the local PC programaticaly. This may involve reseting the NIC instead of reseting the PC

    In win2K and higher, you can use the solution I posted here.

  • Change firewall settings via terminal

    hi,
    I've got an old Powerbook that has a broken screen. Luckily I can access all my files and also ssh into the computer. Is it possible to open the firewall port 7001 via the command-line so I can use something like Desktop Transporter?
    Thanks for any reply.
    Gert
    iBook G4   Mac OS X (10.4.5)  

    Yes, of course. First question, though: why not take the firewall down altogether?
    The thing is, ipfw uses sets of rules, and the order is significant, so it's not just adding a rule, it's where you add the rule. So, for example, if I see:
    <pre>
    $ sudo ipfw list
    02000 allow ip from any to any via lo*
    02010 deny ip from 127.0.0.0/8 to any in
    02020 deny ip from any to 127.0.0.0/8 in
    02030 deny ip from 224.0.0.0/3 to any in
    02040 deny tcp from any to 224.0.0.0/3 in
    02050 allow tcp from any to any out
    02060 allow tcp from any to any established
    02065 allow tcp from any to any frag
    02070 allow tcp from any to any dst-port 22 in
    02080 allow tcp from any to any dst-port 548 in
    02090 allow tcp from any to any dst-port 427 in
    02100 allow tcp from any to any dst-port 80 in
    02110 allow tcp from any to any dst-port 427 in
    02120 allow tcp from any to any dst-port 443 in
    02130 allow tcp from any to any dst-port 21 in
    02140 allow tcp from any to any dst-port 139 in
    12190 deny tcp from any to any
    65535 allow ip from any to any
    </pre>
    Obviously, you need to add your rule before the blanket deny rule, so enter:
    $ sudo ipfw add 02150 allow tcp from any to any dst-port 7001 in
    Or you could do a rule like:
    $ sudo ipfw add 02005 allow ip from ME to any in
    Where ME is your IP address (or MAC yo:ur:ma:ca:dd:re:ss) to allow all access from your computer. Unwise because both are easily spoofed, but you can delete it as soon as you're done:
    $sudo ipfw delete 02005

  • DNS name resolution ignores search domains ??

    I have a DNS search domain specified in network prefs for ethernet (and a domain picked up from DHCP).  But these appears to be ignored both in apps  and on the command line.  I find I have to type the fqdn which is a pain.
    Looking at /etc/resolv.conf I see  'domain' but no search entries.  UNIX docs suggest that domain should allow 'short names' maunally adding explicit search records to /etc/resolve.conf seems to work despite the warning that nothing uses resolve.conf any more. (as on most modern UNIX systems).
    Anyone know what is going on?  It is a worry that search domains specified in preferences => networks appear to be ignored.  It is also a worry that adding config to a supposedly unused file fixes the problem (well at least until it gets overwritten with the next dhcp refresh).
    Russell.

    Hi,
    How about the status of the problem now?
    DNS request timed out is mainly caused by losing of Network Connectivity, detailed information you may reference the link below(session
    7. Loss of Network Connectivity):
    https://technet.microsoft.com/en-us/library/bb962024.aspx
    If the problem still exits, try command line nslookup /set d2
    to turn exhaustive Debugging Mode on(all fields of every packet are printed). And post the result here.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Multiple DNS Search Suffixes

    Does anyone know whether it is possible to set more than one DNS search domain for a dial in VPN user?
    We currently have a group policy setting below and would like to add domain-b.co.uk to the list of search domains
    group-policy RemoteUsers attributes
    wins-server value x.x.x.x y.y.y.y
    dns-server value a.a.a.a b.b.b.b
    vpn-idle-timeout 30
    vpn-session-timeout 300
    vpn-filter value vpn-filter
    vpn-tunnel-protocol IPSec
    split-tunnel-policy tunnelspecified
    split-tunnel-network-list value RemoteUsers_splitTunnelAcl
    default-domain value domain-a.co.uk

    Hi,
    According to your description, my understanding is that tool SIEM prompts multiple DNS error NO SUCH NAME for Local IP.
    I am wondering which SIEM tool have you used. If it is a 3rd-party tool, I recommend you to contact the vendor/supporter for detailed information about this error.
    I am not sure about the environment you have configured and which version of OS used. In general, for windows system, we may use built-in tool, such as event viewer, performance monitor to collect detailed information about error or warning. Besides, monitor
    tool such as Network Monitor(http://www.microsoft.com/en-us/download/details.aspx?id=4865) is also helpful to capture packets for further troubleshooting.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • ActiveX UAC and Proxy Settings via GPO

    Hi there,
    Wondering if anyone can help.
    I am experiencing the following issue when trying to load ActiveX control without UAC prompts for standard users.
    I have:
    Configured ActiveXInstaller Service and configured allowed sites and settings via GPO.
    Configured IE Security settings for the Trusted Zone to Allow ActiveX content to run via GPO.
    Configured IE to use per user proxy settings via GPO.
    Allowed the domain in our proxy and bypassed authentication for that domain.
    Everything seems to be in place but I receive a UAC prompt for the Internet Explorer Add-on Installer UNLESS I either turn off the IE proxy  settings or add the domain to the IE proxy exclusions list.
    Unfortunately neither of these are options in our environment..
    Anything I've missed?
    Thanks!

    Hi,
    Before going further, what's the operating systems you are using? How did you configure
    approved Installation Sites for ActiveX Controls and Active X installation policy for sites in Trusted zones settings?
    Regarding how to configure these two settings, we can refer to the following article for double check.
    Administering the ActiveX Installer Service in Windows 7
    http://technet.microsoft.com/en-us/library/dd631688(v=ws.10).aspx
    Besides, we can also run command gpresult/h gpreport.html with admin privileges to collect group policy result report to check if the policy settings are applied correctly.
    Best regards,
    Frank Shen

  • Configure Search Domains

    At our corporate office, we need to enter specific search domains for each of our mobile devices.  I'd like to avoid having to enter these search domains manually into every device.  I tried to use Profile Manager to make a profile to send out, but the search domains option isn't configurable.  Is there any way to push this to all of the devices without having to input it manually on each device?

    Hi Phil (and others!)
    I opted for the easy choice, which did work... and have added the Search Domain info etc whilst at home... and touch wood today things seem to be working better, i can easily access network preferences etc and have had no hanging apps as yet...
    I did try and use different locations for work and home, but sadly i ended up with a spinning beach ball of doom when i tried to change the location at work, so it was a slightly pointless exercise!!!
    The lookupd -configuration printout is as follows (no idea if it's useful in any way!)
    ConfigSource: default
    LookupOrder: Cache NI DS
    MaxIdleServers: 4
    MaxIdleThreads: 2
    MaxThreads: 64
    TimeToLive: 43200
    Timeout: 30
    ValidateCache: YES
    ValidationLatency: 15
    configname: Global Configuration
    LookupOrder: Cache FF DNS NI DS
    configname: Host Configuration
    LookupOrder: Cache FF NI DS
    configname: Service Configuration
    LookupOrder: Cache FF NI DS
    configname: Protocol Configuration
    LookupOrder: Cache FF NI DS
    configname: Rpc Configuration
    TimeToLive: 60
    ValidateCache: NO
    configname: Group Configuration
    TimeToLive: 300
    ValidateCache: NO
    configname: Initgroup Configuration
    LookupOrder: Cache FF DNS NI DS
    configname: Network Configuration
    Thanks
    Scott
    MBP 2.0Ghz, 2Gb RAM, 100Gb 7200rpm   Mac OS X (10.4.9)   Parallels

  • On my home wireless network, the iphone 5 won't let me enter the IP address, subnet mask and router info. I was able to enter the DNS and Search Domains. How do I open up those fields?

    On my home wireless network, the iphone 5 won't let me enter the IP address, subnet mask and router info. I was able to enter the DNS and Search Domains. How do I open up those fields?

    Apparently the router is not sending the info to the iphone. How can I make that happen?

  • DNS problem: search domain Ian

    Hi,
    I had some spyware on my computer but removed it with Macscan. However, I still find the name 'Ian' in my system preferences under Network 'Search Domains'. I can't remove it. Is my Mac infected once more?
    Daniel

    Daniel Janssen wrote:
    Hi,
    I had some spyware on my computer but removed it with Macscan. However, I still find the name 'Ian' in my system preferences under Network 'Search Domains'. I can't remove it. Is my Mac infected once more?
    Daniel
    Do you use bit-torrent or limewire or that stuff? If so, no telling who was in your computer or what they did. If you run the computer as an administrator, it only makes things worse.
    With most malware, you have to invite it into your computer.
    Your best bet is to completely reinstall without migrating anything and hope that nothing much was copied from your computer.

  • PM 6500 with OS 8.6 TCP/IP Settings - How To Activate it to configure it

    I am trying to setup friends OS 8.6 based PM 6500 box to be able to connect to the network , but I am having problems even starting that process. I am trying to open TCP/IP preferences via TCP/IP Control Panel and each time I try I get: "The file "TCP/IP Preferences" could not be opened because it is locked or being used by another application"
    Now, I am not experienced with OS 8.6, but I do know that the TCP/IP is not active (info obtained via system info), thus my questions are:
    - How do I activate TCP/IP ?
    - Does OS 8.6 has terminal app and how do I activate it ?
    - I have OS 9 on DVD which I got when I purchased my PowerBook (why they had this in I have no idea since I am using 10.4.4 upgraded from 10.4.0), is there anywhere OS 9 on CD's or a download somewhere ?
    Any info will be highly appreciate it!

    SIPAnkh
    I am trying to setup friends OS 8.6 based PM 6500 box to be able to connect to the network ...You didn't mention whether the network in question was local (a LAN) or the WWW (a WAN), but you are certainly on the path by considering TCP/IP to be central to either. Faced with the messages that you have been, your most probable difficulty is corruption of the preference file.
    As Grant and Niel have suggested, trashing the TCP/IP preference file is a first and easier course. That can be followed by a clean install of OS 8.6 as a second, if the first is ineffectual. The second course will necessitate some further time spent in restoration of other (third-party and optional Apple) extensions, control panels and (perhaps) preference files from Previous System Folder to the new System Folder. It's either that or reinstallation of all third-party and optional Apple applications from scratch, if you wish to be ultra-safe.
    OS X, by and large, has all the applications/control panels to do with networking in one place in System Preferences, rather than dotted about under different heads as Sharing Setup, AppleTalk, Users and Guests, TCP/IP, File Sharing, Network, Sharing, and many other names as they are in OS 9 and earlier. The OS X panels show their origins in their pre-X antecedents, which are no more onerous to set up, but admittedly not centralized. Your misfortune has been to meet a (probably) corrupt file, and unilluminating screen messages showing that the OS was as mystified as you were. The advice that you have already been given should, nonetheless, get you out of the corner.
    You mentioned OS 9 as if you were considering it for the 6500. Certainly the Mac can cope with OS 9.1, but 128MB of RAM (max.) and 300MHz (max.) do not together promise more than a few improvements over OS 8.6.

  • No internet access using manual TCP/IP settings after 10.4.6

    I stopped being able to access the internet with manual TCP/IP settings in the Network Preferences after updating from 10.4.5 -> 10.4.6.
    When I change settings to use DHCP everything works fine, but I need to get the manual settings working as I use them quite often when configuring/setting-up routers.
    This happens with both the AirPort and Ethernet interfaces, so it doesn't matter which interface I use to connect through.
    My network Locations with manual TCP/IP settings have worked fine with 10.4.5, under the same networking hardware (routers, cables, etc...).
    This occurs both at home (with my Linksys wireless router) and at work (with a DrayTek router).
    At home, this problem occurs with both my PB12 and my wife's iBook12, after the 10.4.6 update was applied.
    At work, all Windows laptops can connect to the internet using manual TCP/IP settings, but not my PB12.
    Example of my settings:
    - IP: 192.168.1.99
    - Mask: 255.255.255.0
    - Router: 192.168.0.1
    - DNS: <empty>
    - Domains: <empty>
    Already tried, without success:
    - verified disk -> no errors found on disk!
    - repaired permissions, using Disk Utility, rebooted and tested -> no connection!
    - tried with DNS=192.168.0.1 -> no connection!!
    - tried with DNS=[my ISP primary dns] -> still nothing!!!
    - even tried reapplying the combo update 10.4.5 -> of course, it didn't let me, as I'm now in 10.4.6!
    Any thoughts or ideas to fix it and make it work in 10.4.6?
    ... other than archive&install, in order to downgrade!
    PB12'' @ 1,33 GHz w/ 768MB RAM   Mac OS X (10.4.6)  

    Yes, buy I also state in my original post that I:
    - tried with DNS=[my ISP primary dns] -> still nothing!!!
    but yes, I probably should have titled it "No network access using..." (posting as 4:30 AM was probably not the best idea :D)
    I understand I might have been a bit clumpsy posting my problem and appreciate everyone's corrections to what I wrote, but trust me that I have done a lot of tests and spent many hours on this... Bear in mind that I am using a network Location with manual definitions that was working before the update!
    Anyway, as it happens, the likely culprit now seems to be more of a 3rd party software's inability to deal with 10.4.6 rather than the 10.4.6 itself!
    I've disabled/unistalled/turnned off/deleted (depending on the app) anything NOT Apple that had anything to do with networking, be it for monitoring, controlling or managing (just to name a few: Little Snitch, Menu Meters, BrickHouse, etc, etc, etc...).
    The Location with the manual settings is now working fine (at least at the office).
    Over the next week or so I'll incrementaly re-install those 3rd party tools (which were most likely not up-to-date anyway) and see if something breaks at some point... but won't put much effort into it -- just happy to see it working again!
    I'm closing this for now, as I don't have any more time for it (work is pilling up!)... If I manage to find out which version/app combination was causing the problem I'll post it back here!

  • Search Domains = Ian?

    Hi.
    I was just changing my DNS Servers to use Google's Public DNS http://code.google.com/speed/public-dns/index.html in System Preferences>Network>AirPort>Advanced>DNS
    When I noticed listed under Search Domains (to the right of DNS Servers) the name "Ian". It's lightly greyed out and you can't click and press minus to remove it. It also appears in my girlfriends MacBook and in my iPhone settings, so I imagine it is some auto network setup.
    I have read on an archived thread someone else who had the same thing:
    http://discussions.apple.com/thread.jspa?threadID=1816266&tstart=0
    Should I be concerned?

    I believe I may be being a little silly, the Ian may of course be LAN in lowercase.
    Ian lan just a little height difference there.

  • Configure DNS client

    I new in solaris can anyone tell me how to configure dns client? thank you

    1. Edit the /etc/resolv.conf file
    vi /etc/resolv.conf
    domain example.com
    nameserver xxx.xxx.xxx.xxx # IP address of name server
    nameserver xxx.xxx.xxx.xxx # IP address of sec name server
    search test.example.com research.example.com
    2. Configure DNS as the naming service .
    cp /etc/nsswitch.dns /etc/nsswitch.conf
    3. [b]Bounce the naming service .
    svcadm restart network/dns/client
    (OR)
    Reboot the machine
    4. Testing the DNS client
    nslookup

Maybe you are looking for

  • How to install OS X 10.8 without an old drive

    Hi, I bought an used MacBook Pro 13 late-2011 (MD313LL/A, A1278 (EMC 2555*)) without HDD on eBay (seller removed HDD for security reason). I am new to Mac world. So how do I install the OS X 10.8 on a new SSD drive? Would it be the same like install

  • How to set a default value for a input dialog

    I use JOptionPane.ShowInputDialog("Input Please");

  • Non Editable Purchase Order Price

    Hi,  Need a config help for the following scenario: "Vendor Price is fixed for a material. The fixed price is required to flow in PO. User should not be able to change the unit price." Best Regards, Srini

  • RSS Feeds cause Mail to quit

    Whenever I click on the RSS feeds or try to modify or delete them, Mail quits immediately. Any ideas what is causing this?

  • RequestDispatcher is not working with Tomcat 4.1

    This is JSP's path http://localhost:8080/myApp/Date.jsp from this jsp i am calling below Servlet this is my servlets path http://localhost:8080/examples/servlet/SampleServlet from the servlet i am trying to forward request to other JSP but it sees li