Local dnsmasq server: first time it fails, next ones it works.

This small piece of bash output shows well the problem...
$ ssh turing.lesalab.net
ssh: Could not resolve hostname turing.lesalab.net: Name or service not known
$ ssh turing.lesalab.net
Last login: Mon Jul 16 18:31:09 2012 from ...
$ logout
I followed the dnsmasq article, am I not sure what I did wrong.
Here is my /etc/resolv.conf
nameserver 127.0.0.1
nameserver 160.78.48.10
About dnsmasq configuration...
$ </etc/dnsmasq.conf grep -v '^#\|^$'
listen-address=127.0.0.1
$
And finally and example with dig that seems working...
The second time dig is much faster.
$ dig www.cnngo.com
; <<>> DiG 9.9.1-P1 <<>> www.cnngo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33872
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 8, ADDITIONAL: 9
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.cnngo.com. IN A
;; ANSWER SECTION:
www.cnngo.com. 3600 IN CNAME www.cnngo.com.edgesuite.net.
www.cnngo.com.edgesuite.net. 14098 IN CNAME a267.g.akamai.net.
a267.g.akamai.net. 20 IN A 213.254.17.24
a267.g.akamai.net. 20 IN A 213.254.17.22
;; AUTHORITY SECTION:
g.akamai.net. 9746 IN NS n3g.akamai.net.
g.akamai.net. 9746 IN NS n4g.akamai.net.
g.akamai.net. 9746 IN NS n5g.akamai.net.
g.akamai.net. 9746 IN NS n6g.akamai.net.
g.akamai.net. 9746 IN NS n7g.akamai.net.
g.akamai.net. 9746 IN NS n0g.akamai.net.
g.akamai.net. 9746 IN NS n1g.akamai.net.
g.akamai.net. 9746 IN NS n2g.akamai.net.
;; ADDITIONAL SECTION:
n0g.akamai.net. 11810 IN A 95.101.34.46
n1g.akamai.net. 13951 IN A 95.101.34.44
n2g.akamai.net. 7743 IN A 46.33.73.61
n3g.akamai.net. 11810 IN A 95.101.34.54
n4g.akamai.net. 13951 IN A 95.101.34.52
n5g.akamai.net. 7743 IN A 95.101.34.45
n6g.akamai.net. 11810 IN A 95.101.34.47
n7g.akamai.net. 13951 IN A 95.101.34.55
;; Query time: 100 msec
;; SERVER: 160.78.48.10#53(160.78.48.10)
;; WHEN: Mon Jul 16 18:59:59 2012
;; MSG SIZE rcvd: 415
$ dig www.cnngo.com
; <<>> DiG 9.9.1-P1 <<>> www.cnngo.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29335
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.cnngo.com. IN A
;; ANSWER SECTION:
www.cnngo.com. 60 IN A 95.100.249.106
;; Query time: 3 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Jul 16 19:00:01 2012
;; MSG SIZE rcvd: 47
What can I try? Any ideas?
What might be the reason that the dns resolution fails the first time and works the successive ones?
Thanks.

All sounds ok but it could be that your Broadcom nic is not compatible: you should check what ccx version it supports because the access point performs LEAP, EAP-FAST

Similar Messages

  • 6260 PCsync problems, syncs first time then "Faile...

    6260 PCsync problems, syncs first time then "Failed to open Outlook" "PC Sync could not update the data to the mobile phone." warning appear until reboot.
    Got phone, set up latest version of pcsuite ver 6.70.22 via bluetooth.
    Operating system:
    Microsoft Windows XP
    Build 2600
    Service Pack 2
    Bluetooth stack:
    Microsoft Bluetooth stack
    Version 5.1.2600.2180
    it synced well for the first time, then will not re-sync. comes up with errors/warnings "Failed to open Outlook" & "PC Sync could not update the data to the mobile phone." warning appear until reboot.
    I have reinstalled PCsuit (twice)
    Removed mmc card
    dont really want to re-install outlook.
    i dont understand why it works the first time and doesnt until a reboot pc (5 mins each time)
    Bluetooth works fine as i can upload or download files without any problems...? Help

    Teurastaja, that is not how my sync works with Nokia 6681.
    - I get most of my additions to phonebook to the phone, because that is where I add new contact (someone call me and I add that new contact to phone book etc.)
    - I "clean up" my contacts like you do, using Outlook, it is more convinient that way, like you say.
    - I get 95% most of my calendar stuff to Exchange server(Outlook)and sometimes I add meetings etc. to my phone
    Then I syncronise my phone automatically over Bluetoooth everytime I am connected to my PC (this happens 3-4 times/day).
    And it works, if I delete something in Outlook, it gets deleted from phone. additions to phone and Outlook get added to "the other end" as well.
    I never touch my sync settings and I have "update in both directions" in use.
    This is they way it should work and it works as long as you don't change the settings every so often, that confuses the sync and makes it run a "first time sync" and that causes the sync to rewrite the deleted stuff back.

  • Not able to start SOA managed server first time with node manager by WLST

    Hi all,
    I have created a SOA11g domain. Then using WLST utility I have started the Node Manager.
    Then from WLST prompt I have connected to the Node Manager & started the Admin Server successfully.
    But when ever I am starting the SOA manager server using WLST it's throwing the following error in WLST page : -
    Error Starting server soa_server1: weblogic.nodemanager.NMException: Exception while starting server 'soa_server1'
    In server log file I am getting the following error : -
    Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user denied
    weblogic.security.SecurityInitializationException: Authentication for user denied
    I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
    If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.
    Can anyone please tell me what can be the issue?
    Thanks in Advance!!!
    Edited by: 008 on Dec 6, 2012 7:53 PM

    Hi,
    I am getting this problem only when I am trying to start the domain for the first time after domain creation using WLST/nodemanager.
    If I start & stop the SOA managed server from EM console & then try to start it aging from WLST/NodeManager then it's work fine.When you a server for the first time by using console or startManagedWeblogic.cmd, a file boot.properties is created under %DOMAIN_HOME%\servers\soa_server2\data\nodemanager...
    The WLST/Nodemanager approach doesn't create the file so it won't work for the first start... But it will work just fine from the second on...
    I've never tried, but you can try and create the boot.properties manually in your script with the following content... Password should be encrypted after the first successful start...
    username=type-the-username-here
    password=type-the-password-here
    Cheers,
    Vlad

  • I am using generic datasource first time init sucessful, next time deltas

    Hai ALL,
    I am using Generic Datasource first time i run init next time i want to run the delta, delta is sucessful but 0 records. i am taken date field and new status fileds(DSO) for DSO. R/3 side table values chaging but not replicate to BI. Can any suggest how to run the delta for Generic Datasource.
    Thanks & Regards,
    Suresh

    Hi
    Have you set delta pointers in your Generic datasource? if yes then what it is ? try to see if its logically related with your changes in records or you need to use any other type of delta pointer.

  • Cannot override codebase to use local files for first time installation.

    I have an application that is installed via a JNLP link. The application is about 200MB and we use a web start so that each time the application starts it checks for updates in the configuration and downloads them if necessary.
    I have a requirement to provide an offline installation on CD as some of our users have very slow connection speeds and it's taking over an hour to download the binaries.
    I am trying to do the install using the command line javaws -import -codebase <linktolocaldir> <linktojnlp>
    I need to use the jnlp on the sever so that the configuration files are checked and downloaded each time it starts.
    However the local codebase is never used - the dialog always says that it is downloading from the server, I can only get it to install from the local drive if I change the path directly in the JNLP (which is no good as I need to keep this path pointing to the server)
    Is there any other way to override the codebase for the initial installation?
    Any help much appreciated.

    Here are the guides I've used to do mine:
    How to use the Java Web Start CD-Install feature ? http://download.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/cdinstall.03.06.html
    Distributing a Java Web Start Application via CD-ROM http://blogs.oracle.com/CoreJavaTechTips/entry/distributing_a_java_web_start
    Distributing a Java Web Start Application via CD-ROM (same as above) http://www.java.net/pub/a/today/2008/07/10/distributing-web-start-via-cd-rom.html

  • SL user can save to Windows Server first time, but can't overwrite/modify?

    We upgraded both Mac's in our organisation to Snow Leopard a couple of months ago. Since then our users have been struggling when saving to the our fileshare.
    The fileshare runs Windows 2003.
    Basically the SL user can save their file to a folder that they have full rights to on the File Share, but cannot modify the document.
    Instead they have to save the document locally with a different name and manually copy it to the File Share.
    Its obviously a bug/permissions issue. Has anyone else experienced this?

    You didn't say how they were mounting the shares. AFP or SMB. Win 2003 is a little screwy in which by default the volume using AFP is read-only. If it is a new share with OS 9 legacy files in it, you should use SMB. Otherwise, on the server, right click on My Computer, select Manage, then in the side bar, select Shared Folders, then Shares. You should see two Share names -- one for Windows and one for Macintosh. Right click on the Share with Macintosh as the type and select Properties. Click off the radio button that says "This volume is read-only." If that isn't it, click on the Security tab and set up your permissions accordingly. Check and make sure that Modify is allowed in addition to Write.

  • ILM First Time Installation Fails with compilation errors

    I am using database version 10.1.0.4.2, and Apex version 3.0.0.00.20,
    These both are on the same machine.
    I login with sqlplus as sysdba and run
    @ilma_install apex sysaux none
    Following happens after running it:
    - It runs for a while creating different objects
    - then gives warning : view created with compilation error
    - then gives warning : view created with compilation error
    - then gives warning : view created with compilation error
    - then runs for a while
    - then gives error Package body created with compilation errors
    Errors for package body ILM_SYS_TOOLKIT
    Line/col Error
    1646/3 PLSQL: SQL Statement Ignored
    1647/22 PLS-009050 : Object ILM_Toolkit.ILM_Schedular_Steps is invalid
    Then the installation terminates.
    Please help.
    regards

    I am sorry to hear that you are still having difficulties with the installation. I set up a system that is as close to your configuration as I could replicate, with a 10gR1 database and Apex 3.0, and did not have any issue installing the ILM Assistant.
    It is possible that your install kit may have been corrupted during the modifications. I could build a new kit with the proper changes for your setup and send this directly to you if you would like.
    Alternatively, the problem may be with your Application Express installation. Try to verify that this was installed properly, and that the underlying schema account (FLOWS_030000) is unlocked and that you are using its proper password when installing ILM.
    Thanks,
    Adam

  • Hello. I just bought an iPod mini and I it says I need a pas code to initiate. The first time I turn it on it worked now it is asking for pass code and I didnt put one on it. What can I do?

    I bought an iPod mini and I was able to work on it one night. Now it says I need a 4 digits pass code to initiate and is blocked. What can I do?

    You will need to restore your iDevice from the same computer that you most recently synced to.
    Read this: http://support.apple.com/kb/ht1212
    If you can't do the restore then you will need to try recovery mode.
    Read this: http://support.apple.com/kb/ht1808

  • I have an Iphone 4s that I installed the face button app. After trying to use the first time, my phone locked and stopped working. Does anyone knows how to fix that problem or how to reset this phone?

    I have an Iphone 4S that i installed the face button app. After trying to use it, my phone locked and I cannot get it to work anymore. does anyone knows how to reset this phone and get it working again?

    A reset may help. Tap and hold the Home button and the On/Off buttons for approximately 10-15 seconds, until the Apple logo reappears. When the logo appears, release both buttons.
    No content is affected by this procedure.

  • Two server sockets on the same machine, one not working.

    Dear forum users.
    I'm currently having a problem with running two server sockets on the same computer.
    It gives no exceptions or anything, just that if i connect with another machine, the last serversocket that started,
    will not accept connections..
    Scenario:
    Computer 1: Main server.
    Computer 1: Game server.
    Computer 2: Client
    Computer 2 connects first to the main server (lets say port 13371)
    Then connects to game server (port 6112).
    Computer 2 failes to connect to the Game server for some reason.
    But if i open a client at Computer 1, connects to main server, and then game server, it
    works fine.
    And if I put computer 2 as a Game server,
    then everything works fine.
    Working scenario:
    Computer 1: Main server.
    Computer 2: Game server
    Computer 2: Client
    Computer 1: Client
    Now, however many that wants to connect to game server, works.
    I have gone through the code 100 times now it feels like. And still dont see why this happends.
    Anyone know if it is "working as intended"? Or just me doing something completely wrong that i cant see myself?
    Sorry for not posting code, its too much code to post.

    Oh, sorry.
    TCPServer:
    protected ServerSocket serverSocket;
    public abstract void processConnection(Socket client);
        public void listen() {
            try {
                report("Listening to clients on port: " + portNumber);
                while (serverSocket != null && acceptConnections) {
                    processConnection(serverSocket.accept());
                    report("Client accepted on serverSocket.");
            } catch (SocketException e) {
                report("TCPServer/listenForClients : SocketException.", e);
            } catch (Exception e) {
                report("TCPServer/listenForClients : Unknown Exception.", e);
            cleanUp();
            report("Stopped listening on port: " + portNumber);
        }MainServer extends the TCPServer:
        public void processConnection(Socket client) {
            try {
                MainServer_Client tmp = new MainServer_Client(client, this);
                synchronized (clients) {
                    clients.add(tmp);
                Thread th = new Thread(tmp);
                th.start();
            } catch (Exception e) {
                report("MainServer/processConnection : Unknown Exception", e);
        }GameServer extends TCPServer
        public void processConnection(Socket client) {
            try {
                client.setTcpNoDelay(true);
                GameServer_ServerClient tmp = new GameServer_ServerClient(client, this);
                synchronized(clients) {
                    clients.add(tmp);
                Thread th = new Thread(tmp);
                th.start();
            } catch(Exception e) {
                report("GameServer_Host/processConnection : Unknown Exception",e);
                e.printStackTrace();
        }Edited by: Lgeee on Apr 30, 2010 2:57 AM

  • Can't Find Server at... error -- only one site, works from non-Macs fine

    Greetings:
    I have been getting a "Can't Find Server at www.teocommunications.com" error in Firefox for over a month now. I thought initially that it was a problem with the DNS entries and maybe the record had not proliferated though the DNS servers of my ISP or something of that nature. This is not the case.
    I have tried to bring my site up in Safari and it yields the same result.
    Did an nslookup, and everything resolves fine. Every once in awhile the site comes up on my Mac, but most of the time it gives the error. At all times, if you try to go to it from a Windows machine or my smart phone it works fine 100% if the time. My wife's Windows Vista machine with Firefox brings it up fine 100% of the time (she is on the very same network). I can get it to work for some reason if I totally reboot the Mac or reset the router (but the router is obviously not the problem)... it has to be something in the Mac OS (10.6 and 10.5) that is going on. I have eliminated all other possible problems. Curiously enough, it seems to also be a Leopard (not just Snow Leopard) issue... I can reproduce the error at my school (which is on a totally different network than my home) on the Mac Pro Intels they have which are still on Leopard.
    I am on the latest version of Snow Leopard on a brand new Mac Mini.
    This problem is only with my site (that I know of) but again it happens ONLY on Macs with Leopard or Snow Leopard. I am very annoyed by this problem and because it is my professional work site, it is imperative that I find the solution and soon.
    Hope someone can help.
    APPLE, please look into possible configuration or DNS issues in Leopard/Snow Leopard, as before I posted here, I did try several 'fixes' for issues like this for Firefox before I noticed that Safari was getting the same issue and ANY OTHER PLATFORM sees my page just fine!

    Hi Guys:
    It sometimes works from my Mac as well. I can get it to load if I reboot the Mac and then in a few reloads it is back to the same error.
    I did try openDNS as well and it did not still load. I can pretty much guarantee that it is not the DNS records, it is something going on between my Mac (or the Pros at school). Other sites from my same host work fine, my domain is setup exactly the same. They do use ISPConfig... and it could be something with that program, but I can not seem to confirm any problems there.
    I reset my router and the site is currently loading again on my Mac, but I can tell you it will be throwing the error in the very near future because that is one fix that worked before and it worked exactly two loads when I switched to a different wireless access point that is not my router.
    SO, the fact that it loads one to up to twenty times on someone's Mac is not enough to reproduce the problem. It takes several reloads and then the problem magically re-appears. This is why the fact that it is working right now on my machine is not good enough to call it fixed.
    Try to reload my site several times and see if it gives you the error.
    I have (as I stated) tried a lot of what is being suggested here and re-tried it, but nothing fixes it for very long
    I appreciate the help and hopefully we can figure out why the situation exists.
    Thanks for the help so far and please feel free to keep suggesting ideas, but for reference I have tried:
    1. modifying settings in Firefox (although it does not matter what browser I use,the result is always the same)
    2. resetting the router and DSL modem
    3. modifying the /etc/hosts file on my Mac
    4. dscacheutil -flushcache
    5. using openDNS instead of my ISP (which is AT&T)
    6. removing the DNS settings and using the router settings
    7. turning off airport and back on after 30 seconds
    8. renewing my DHCP clients
    9. Signning onto a different wireless access point (which is actually a new ISP that I am going with and so they are a totally different network and subnet).. they are setup all over town with wireless access. -- pretty cool actually.
    None of this seems to fix the problem loading only my site. Since I do have access to the hosting provider (I work with them)... I have done some things on the hosting side too. All to no avail.

  • Do browser send a error report to the website if browser fail in set up communication channel first time with that site

    Suppose i want to open some site using mozilla but first time browser fail to set up communication channel. When I attempt second time it successfully set up a connection then my question is that on the second time will browser send error report of first time to that site

    What was the specific problem with the first request? For example:
    * The server reset the connection
    * Page didn't load (blank)
    * Security certificate error
    * et cetera
    In some of these cases, the destination server might not know you sent a first request. And in other cases, that will be in the log. But I do not think Firefox sends any notification of problems with previous connections, the site would have to make an educated guess about the problem based on getting two sequential requests from the same IP address.

  • Jsessionid overwriting cookie first time

    Hi,
    I am using a package for struts, struts-menu, that uses cookies set in a javascript to keep track of which menu item that will be shown as selected. ( The menu alternative I am using is tabbed menues. )
    The application I am testing this on is a Struts application.
    Background:
    When a user clicks a tab a cookie is set, document.cookie = "......". The request is posted to the server and when the browser is returned control the javascript looks up the cookie and should select the right tab.
    Now the problem:
    The 1st time the browser receives the control from the server the menuSelected-cookie is null?!!! Although I have queried the cookie value before submitting the 1st time. The effect is that no tab is selected. At this point, document.cookie is only set to jsessionid="...".
    However, if I then click another tab, and after click an infinite number of times it works!!! It's only the first time it fails.
    Does anyone have a clue?
    Best regards
    Lasse Bergstr�m

    Hi,
    Here is what happens sequentially:
    1. The start menu is loaded, no tab is selected which is ok since I want it that way.
    2. Now, the user clicks a tab ( no matter which tab ) and this is supposed to set the cookie. The server is called upon this click and then returns to the browser.
    3. Control is returned to the browser and here's the error: No tab is selected.
    I have traced what happened in the javascript file by adding alert-statements and this is what I found out. At step 2 above when the user clicks a tab, document.cookie is actually set to the value that belongs to the tab that was clicked. Fine, when server returns control to the browser as in step 3 I prompt document.cookie using alert in the part of the javascript code that tries to find out which tab to be selected. Now, to my big disappointment it's null.
    What puzzles me is that I in cronological order can prompt document.cookie first as set to the value I desire and then after that its null.
    I have a slimmed war-file which presents the problem that is deployable in any j2ee server. If I had a possibility I could email the war-file to you. Advise me at [email protected] if you like.
    Best regards
    Lasse Bergstr�m

  • PHP Local Testing Server Not Working!

    Hi Guys,
    I've just set up my PHP local testing server, although its not working properly! If you could help that would be so wonderful!
    Here is my current settings:
    Local Site Folder: C:\XAMPP\htdocs\valsoo\
    Web URL: http://localhost/valsoo/
    Server Folder: C:\XAMPP\htdocs\valsoo\
    Local/Network
    Server Model: PHP MySQL
    I'm testing the 'local testing server' with a file called site_check.php which works in the Local Site Folder root (C:\XAMPP\htdocs\valsoo\site_check.php) but fails to work when the file is within folders (C:\XAMPP\htdocs\valsoo\lesson01). Not all files work in the root either. ANY SUGGESTIONS?
    Thanks so much!

    Brentis wrote:
    I'm testing the 'local testing server' with a file called site_check.php which works in the Local Site Folder root (C:\XAMPP\htdocs\valsoo\site_check.php) but fails to work when the file is within folders (C:\XAMPP\htdocs\valsoo\lesson01). Not all files work in the root either.
    If site_check.php works, your local testing server is working.
    What do you mean when you say that it fails to work when the file is in a folder, such as lesson01? What actually happens? What sort of files don't work in the root? Without more details, it's impossible to help.
    If site_check.php is in C:\XAMPP\htdocs\valsoo\lesson01, you should be able to access the file through http://localhost/valsoo/lesson01/site_check.php.

  • PDF only open the first time

    HI
    I have a problem with the PDF export, of any type of document; the situation is complicated in the case of documents which provide for the printing of batches of transactions. Let me give an example.
    I open a delivery customers and I click on the icon PDF: SAP opens the pdf of Transactions batch and then the standard form of delivery; simultaneously saves both pdf folder of images.
    If, once closed the pdf, I click again icon PDF (or after creating a new document), SAP only opens the transaction reports; the report of delivery is not open on the screen but is only saved in the attachments.
    In order to view again I have to close the form and reopen it.
    Is the first time that the next time, the log file I have the message "Invalid input parameter for DfltSeq", but the first time you open the pdf.
    Does anyone know help me to understand why:
    1. SAP does not reopen both reports from the second time
    2. the pdf are saved once in the path of the images, and after the path of attachments.
    Thanks
    NL

    Hi Maggie,
    can you tell me if there is something official SAP (Notes or other) with the problem and that SAP will provide a solution?
    I have the SAP 9.0 PL 14 and I do not have the problem.
    the customer have 9.0 PL 16 and has the problem.
    Thanks
    Nora

Maybe you are looking for

  • SAPinst problem in new SolMan 7.0 SR4

    Hi I've downloaded Install Master for new Solution Manager 7 SR4 (51033517 - Windows/MSSQL) and I have problem with sapinst. Install guide tells that I should have options: SAP Systems -Central System -Distributed System -High-Availability System and

  • Business Graphics using BSP..

    Hello Every Body, I have to use Business Graphics in BSP.. Can anybody tell me a procedure... how to do that ...

  • Music skips when running slideshow in iPhot0 8

    I created a slideshow in Iphoto 8 and when I play it any music I select from Itunes (burned from a CD and not purchased on Itunes) skips about every 10 seconds. I've tried several songs and they all do the same thing. When I play the same songs on It

  • Can firewire connect to thunderbolt

    Can a firewire 800 be connected to the thunderbolt port of the Mac mini or Macbook air?

  • "Watch" command for Leopard?

    Is there a command in Leopard similar to the "watch" command available in Linux? To help clarify what I am asking, in Linux I can use the "watch" command to run a command repeatedly, and it displays an updated output to the screen every 2 seconds. Ex