is DNS support available in Linux? Urgently needed...

Discussion in 'Linux Networking' started by zoltan, Feb 2, 2006.

  1. zoltan

    zoltan Guest

    Hi all,
    I was wondering if DNS support ( for queries such as NAPTR, SRV and
    A records ) was available in any version of Linux. Specifically, for
    example, there is a query called "res_nmkquery" supported in Solaris .
    However, there is no such entry in Linux! I needed to check some
    project code at home, but I don't have Solaris installed. Currently I
    have Asianux Linux installed at home. Can any one please enlighten it
    and if there are any alternatives to installing Solaris for the mere
    purpose of using DNS???

    Regards,

    Timmy Jose.
     
    zoltan, Feb 2, 2006
    #1
    1. Advertisements

  2. You should have res_nmkquery. On my linux box:

    $ grep res_nmkq /usr/include/*.h
    /usr/include/resolv.h:#define res_nmkquery __res_nmkquery
    /usr/include/resolv.h:int res_nmkquery (res_state, int, const
    char *, int, int,

    $ nm /usr/lib/libresolv.a | grep res_nmkq
    U __res_nmkquery
    00000000 T __res_nmkquery
    U __res_nmkquery

    DS
     
    David Schwartz, Feb 2, 2006
    #2
    1. Advertisements

  3. zoltan

    zoltan Guest

    Hi David,
    Thanks so much for that help. Yes, it works on my system too! I
    just didn't know that it was named "res_mkquery" in Linux! I think I
    should be able to take it from here.

    Regards,

    Timmy Jose.
     
    zoltan, Feb 2, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.