Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gullit Miranda
    @gullitmiranda
    run:
    cat /etc/resolv.conf
    Dr Kim Foale
    @kimadactyl
    still the same
    Gullit Miranda
    @gullitmiranda
    try to restart then. but if you are changing the correct network, it does not make sense it does not change the resolv.conf
    now getting
    ;; Query time: 33 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    thats the bit you want to change right?
    and its updated, cool
    Gullit Miranda
    @gullitmiranda
    ow. cool
    can you show the full output of dig?
    Dr Kim Foale
    @kimadactyl
    kim@chips:~/git/taichi/taichi_rails$ dig dev.azk.io
    
    ; <<>> DiG 9.9.5-11ubuntu1.3-Ubuntu <<>> dev.azk.io
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63171
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 512
    ;; QUESTION SECTION:
    ;dev.azk.io.            IN    A
    
    ;; AUTHORITY SECTION:
    azk.io.            667    IN    SOA    ns-584.awsdns-09.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
    
    ;; Query time: 42 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Fri Mar 25 15:29:19 GMT 2016
    ;; MSG SIZE  rcvd: 123
    Gullit Miranda
    @gullitmiranda
    still no result for the dev.azk.io
    you have disabled the dnsmasq?
    Dr Kim Foale
    @kimadactyl
    yes
    Gullit Miranda
    @gullitmiranda
    we'll need to look at other things then.
    getting this too not sure if thats a problem
    Gullit Miranda
    @gullitmiranda
    bu, master, here is a holiday and I need to have lunch with the family of my girlfriend. but as soon as possible I'll be back.
    its ok?
    Dr Kim Foale
    @kimadactyl
    of coruse, thanks so much for your help :)
    Gullit Miranda
    @gullitmiranda
    nothing :wink:
    Dr Kim Foale
    @kimadactyl
    anything i can try in the meantime?
    Gullit Miranda
    @gullitmiranda
    we need to identify if it has some thing in front of the dns-resolve
    but for this I need to search some things
    Dr Kim Foale
    @kimadactyl
    alrighty thanks :sparkles: have a nice lunch!
    Dr Kim Foale
    @kimadactyl
    after a computer restart im getting
    azk: ↓ stopping `taichi-school` system, 1 instances...
    azk: ↓ stopping `postgres` system, 1 instances...
    azk: Run system `taichi-school` return: (0), for command: ["bundle","exec","rails","server","--pid","/tmp/rails.pid","--port=3000","--binding=0.0.0.0"]:
    azk: [timeout] `azk` has timed out on `taichi-school` system.
    azk: [timeout] Failure to reach port `32769` from `http://taichi-school.dev.azk.io` after 20000 milliseconds.
    azk: [timeout] Make sure the start command binds `port` to the `0.0.0.0` interface, not only to the `localhost` interface.
    azk: [timeout] You might want to edit your `Azkfile.js` in order to increase the maximum timeout.
    going out for a bit catch you later :)
    Dr Kim Foale
    @kimadactyl
    hmm. poking a bit more. seems like the resolver file is pointing to some kind of docker network interface (?) not sure if that's intended or not
    kim@chips:/etc/resolver$ cat /etc/resolver/de
    default.dev  dev.azk.io   
    kim@chips:/etc/resolver$ cat /etc/resolver/default.dev 
    # Set nameservers to *.default.dev
    # nameserver 127.0.0.1
    # nameserver 192.168.50.1:5353
    kim@chips:/etc/resolver$ cat /etc/resolver/dev.azk.io 
    # azk agent configure
    nameserver 172.17.0.1:53
    kim@chips:/etc/resolver$ ifconfig docker0
    docker0   Link encap:Ethernet  HWaddr 02:42:eb:5a:dd:eb  
              inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
              inet6 addr: fe80::42:ebff:fe5a:ddeb/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:411 errors:0 dropped:0 overruns:0 frame:0
              TX packets:403 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:109818 (109.8 KB)  TX bytes:119521 (119.5 KB)
    Gullit Miranda
    @gullitmiranda
    I'm back
    it's correct
    the /etc/resolver/dev.azk.io points towards the interface of the docker
    ow, this is only for the Mac :(
    please, run:
    ps aux | grep dns
    Dr Kim Foale
    @kimadactyl
    welcome back :)
    kim@chips:~/git/taichi/taichi_rails$ ps aux | grep dns
    root      4198  0.0  0.0   2440   412 ?        Ss   16:15   0:00 /bin/sh -c dnsmasq -p $DNS_PORT --no-daemon --address=/dev.azk.io/172.17.0.1
    root      4212  0.0  0.0   1724  1356 ?        S    16:15   0:00 dnsmasq -p 53 --no-daemon --address=/dev.azk.io/172.17.0.1
    kim       5145  0.0  0.0  13700  2188 pts/11   S+   16:55   0:00 grep --color=auto dns
    yeah that link is where i got the tip off about those files from
    Gullit Miranda
    @gullitmiranda
    seems to be ok.
    Dr Kim Foale
    @kimadactyl
    Gullit Miranda
    @gullitmiranda
    try this then:
    azk agent stop
    sudo rm -rf /etc/resolver/dev.azk.io
    azk agent start
    dig dev.azk.io
    Dr Kim Foale
    @kimadactyl
    kim@chips:~/git/taichi/taichi_rails$ dig dev.azk.io
    
    ; <<>> DiG 9.9.5-11ubuntu1.3-Ubuntu <<>> dev.azk.io
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52612
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 512
    ;; QUESTION SECTION:
    ;dev.azk.io.            IN    A
    
    ;; AUTHORITY SECTION:
    azk.io.            899    IN    SOA    ns-584.awsdns-09.net. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
    
    ;; Query time: 86 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Fri Mar 25 17:00:12 GMT 2016
    ;; MSG SIZE  rcvd: 123
    :(
    Gullit Miranda
    @gullitmiranda
    :(
    Dr Kim Foale
    @kimadactyl
    what should i tlook like?
    Gullit Miranda
    @gullitmiranda
    let's see how is the /etc/nsswitch.conf
    cat /etc/nsswitch.conf
    Dr Kim Foale
    @kimadactyl
    kim@chips:~/git/taichi/taichi_rails$ cat /etc/nsswitch.conf
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         compat
    group:          compat
    shadow:         compat
    
    hosts:          files resolver mdns4_minimal [NOTFOUND=return] dns
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis
    Gullit Miranda
    @gullitmiranda
    I should
    ;; ANSWER SECTION:
    dev.azk.io.        0    IN    A    192.168.51.4
    Dr Kim Foale
    @kimadactyl
    alrighty
    and do you have a docker network interface too?
    Gullit Miranda
    @gullitmiranda
    remembering that the IP is the docker, in your case