DNS Question: Recursive vs. Iterative

Discussion in 'MCSE' started by SWE, Dec 3, 2003.

  1. SWE

    SWE Guest

    Can someone give me a clear explanation (or point me to a resource on the
    Internet) of the difference between recursive and iterative? I've looked it
    up in a couple of books and on the web, but I'm still fuzzy on the topic.
    Thanks.
     
    SWE, Dec 3, 2003
    #1
    1. Advertising

  2. SWE

    kpg Guest

    I can give you a progrmmmer's definition of those terms, but I would ask in
    what context are you referring to?

    recursive - repeating a number of times by re-entering (re-calling) itself
    itertive - repeating a number of time by looping (within itself)

    (obviously these are not 'technical' definitions...)

    recursion is elegent (providing simple code to seemingly complex problems)
    but memory intensive
     
    kpg, Dec 3, 2003
    #2
    1. Advertising

  3. SWE

    kpg Guest

    i am insane

    There are three types of queries that a client can make to a DNS server,
    recursive, iterative, and inverse.

    Recursive queries
    In a recursive query, the queried name server is petitioned to respond with
    the requested data or with an error stating that data of the requested type
    or the domain name specified doesn't exist. The name server cannot just
    refer the querier to a different name server.

    This type of query is typically done by a DNS client (a resolver) to a DNS
    server. Also, if a DNS server is configured to use a forwarder, the request
    from this DNS server to its forwarder will be a recursive query.

    Iterative queries
    In an iterative query, the queried name server gives the best answer it
    currently has back to the querier. This type of query is typically done by a
    DNS server to other DNS servers after it has received a recursive query from
    a resolver.
     
    kpg, Dec 3, 2003
    #3
  4. SWE

    SWE Guest

    so it's not a matter of one or the other? a recursive query can turn into an
    iterative query?

    what happens if you disable recursion?

    "kpg" <> wrote in message
    news:...
    > i am insane
    >
    > There are three types of queries that a client can make to a DNS server,
    > recursive, iterative, and inverse.
    >
    > Recursive queries
    > In a recursive query, the queried name server is petitioned to respond

    with
    > the requested data or with an error stating that data of the requested

    type
    > or the domain name specified doesn't exist. The name server cannot just
    > refer the querier to a different name server.
    >
    > This type of query is typically done by a DNS client (a resolver) to a DNS
    > server. Also, if a DNS server is configured to use a forwarder, the

    request
    > from this DNS server to its forwarder will be a recursive query.
    >
    > Iterative queries
    > In an iterative query, the queried name server gives the best answer it
    > currently has back to the querier. This type of query is typically done by

    a
    > DNS server to other DNS servers after it has received a recursive query

    from
    > a resolver.
    >
    >
    >
    >
    >
    >
     
    SWE, Dec 3, 2003
    #4
  5. SWE wrote:
    > Can someone give me a clear explanation (or point me to a resource on
    > the Internet) of the difference between recursive and iterative? I've
    > looked it up in a couple of books and on the web, but I'm still fuzzy
    > on the topic. Thanks.


    DON'T ANYONE REPLY!

    This is Swen, but he's very cleverly removed the "n" from his name!

    This has been a public service announcement from the MCNGP.

    --
    Fris "We now return you to your usual drivel" bee® MCNGP #13

    http://www.mcngp.tk
    The MCNGP Team - We're here to help

    http://groups.yahoo.com/group/certaholics
    Certaholics - We're here if you're beyond help
     
    =?Windows-1252?Q?Frisbee=AE_MCNGP?=, Dec 3, 2003
    #5
  6. SWE

    Consultant Guest

    swen, you bastard


    "Frisbee® MCNGP" <> wrote in message
    news:%...
    > SWE wrote:
    > > Can someone give me a clear explanation (or point me to a resource on
    > > the Internet) of the difference between recursive and iterative? I've
    > > looked it up in a couple of books and on the web, but I'm still fuzzy
    > > on the topic. Thanks.

    >
    > DON'T ANYONE REPLY!
    >
    > This is Swen, but he's very cleverly removed the "n" from his name!
    >
    > This has been a public service announcement from the MCNGP.
    >
    > --
    > Fris "We now return you to your usual drivel" bee® MCNGP #13
    >
    > http://www.mcngp.tk
    > The MCNGP Team - We're here to help
    >
    > http://groups.yahoo.com/group/certaholics
    > Certaholics - We're here if you're beyond help
    >
     
    Consultant, Dec 3, 2003
    #6
  7. SWE

    SWE Guest

    Who the heck is Swen?

    "Frisbee® MCNGP" <> wrote in message
    news:%...
    > SWE wrote:
    > > Can someone give me a clear explanation (or point me to a resource on
    > > the Internet) of the difference between recursive and iterative? I've
    > > looked it up in a couple of books and on the web, but I'm still fuzzy
    > > on the topic. Thanks.

    >
    > DON'T ANYONE REPLY!
    >
    > This is Swen, but he's very cleverly removed the "n" from his name!
    >
    > This has been a public service announcement from the MCNGP.
    >
    > --
    > Fris "We now return you to your usual drivel" bee® MCNGP #13
    >
    > http://www.mcngp.tk
    > The MCNGP Team - We're here to help
    >
    > http://groups.yahoo.com/group/certaholics
    > Certaholics - We're here if you're beyond help
    >
     
    SWE, Dec 3, 2003
    #7
  8. SWE

    SWE Guest

    I'm a girl you dingbat. Don't know who Swen is.

    "Consultant" <> wrote in message
    news:...
    > swen, you bastard
    >
    >
    > "Frisbee® MCNGP" <> wrote in message
    > news:%...
    > > SWE wrote:
    > > > Can someone give me a clear explanation (or point me to a resource on
    > > > the Internet) of the difference between recursive and iterative? I've
    > > > looked it up in a couple of books and on the web, but I'm still fuzzy
    > > > on the topic. Thanks.

    > >
    > > DON'T ANYONE REPLY!
    > >
    > > This is Swen, but he's very cleverly removed the "n" from his name!
    > >
    > > This has been a public service announcement from the MCNGP.
    > >
    > > --
    > > Fris "We now return you to your usual drivel" bee® MCNGP #13
    > >
    > > http://www.mcngp.tk
    > > The MCNGP Team - We're here to help
    > >
    > > http://groups.yahoo.com/group/certaholics
    > > Certaholics - We're here if you're beyond help
    > >

    >
    >
     
    SWE, Dec 3, 2003
    #8
  9. SWE

    Jtyc Guest

    Jtyc, Dec 3, 2003
    #9
  10. SWE

    kpg Guest

  11. SWE

    Ken Briscoe Guest

    > I'm a girl you dingbat.

    Oh, well that explains it.


    --
    <runs from sue>
    KB - MCNGP #26

    first initial last name AT hotmail DOT com
     
    Ken Briscoe, Dec 3, 2003
    #11
  12. SWE

    SWE Guest

    so now i'm a mass-mailing worm? gee whiz, way to flatter a woman. i don't
    understand what's wrong with asking a dns question in the mcse newsgroup.
    how the heck is this considered spam?

    "Jtyc" <jtyc_mcngp@f'nspammersdie.yahoo.com> wrote in message
    news:%23$...
    > > Who the heck is Swen?

    >
    > http://securityresponse.symantec.com/avcenter/venc/data/
    >
    >
     
    SWE, Dec 3, 2003
    #12
  13. SWE

    SWE Guest

    really, that explains what?

    "Ken Briscoe" <> wrote in message
    news:...
    > > I'm a girl you dingbat.

    >
    > Oh, well that explains it.
    >
    >
    > --
    > <runs from sue>
    > KB - MCNGP #26
    >
    > first initial last name AT hotmail DOT com
    >
    >
     
    SWE, Dec 3, 2003
    #13
  14. SWE

    Ken Briscoe Guest

    > so now i'm a mass-mailing worm? gee whiz, way to flatter a woman. i don't
    > understand what's wrong with asking a dns question in the mcse newsgroup.
    > how the heck is this considered spam?


    we're just busting your chops.
    1) it's what we do
    2) it seems to have been a slow week so far - you're fresh meat

    don't take it too personally. or do take it personally, whatever.

    --
    sorry fellas, hate to see a woman in pain...
    KB - MCNGP #26

    first initial last name AT hotmail DOT com
     
    Ken Briscoe, Dec 3, 2003
    #14
  15. SWE

    Consultant Guest

    ah, then please provide your pic. you may email it to me at:



    remove yourpants to email

    "SWE" <> wrote in message
    news:bqlkpf$23h5k8$-berlin.de...
    > I'm a girl you dingbat. Don't know who Swen is.
    >
    > "Consultant" <> wrote in message
    > news:...
    > > swen, you bastard
    > >
    > >
    > > "Frisbee® MCNGP" <> wrote in message
    > > news:%...
    > > > SWE wrote:
    > > > > Can someone give me a clear explanation (or point me to a resource

    on
    > > > > the Internet) of the difference between recursive and iterative?

    I've
    > > > > looked it up in a couple of books and on the web, but I'm still

    fuzzy
    > > > > on the topic. Thanks.
    > > >
    > > > DON'T ANYONE REPLY!
    > > >
    > > > This is Swen, but he's very cleverly removed the "n" from his name!
    > > >
    > > > This has been a public service announcement from the MCNGP.
    > > >
    > > > --
    > > > Fris "We now return you to your usual drivel" bee® MCNGP #13
    > > >
    > > > http://www.mcngp.tk
    > > > The MCNGP Team - We're here to help
    > > >
    > > > http://groups.yahoo.com/group/certaholics
    > > > Certaholics - We're here if you're beyond help
    > > >

    > >
    > >

    >
    >
     
    Consultant, Dec 3, 2003
    #15
  16. SWE

    Consultant Guest

    yeah, just take it

    "Ken Briscoe" <> wrote in message
    news:...
    > > so now i'm a mass-mailing worm? gee whiz, way to flatter a woman. i

    don't
    > > understand what's wrong with asking a dns question in the mcse

    newsgroup.
    > > how the heck is this considered spam?

    >
    > we're just busting your chops.
    > 1) it's what we do
    > 2) it seems to have been a slow week so far - you're fresh meat
    >
    > don't take it too personally. or do take it personally, whatever.
    >
    > --
    > sorry fellas, hate to see a woman in pain...
    > KB - MCNGP #26
    >
    > first initial last name AT hotmail DOT com
    >
    >
     
    Consultant, Dec 3, 2003
    #16
  17. SWE

    Jtyc Guest

    > so now i'm a mass-mailing worm? gee whiz,

    I didn't call you that. I was just answering your question.


    > way to flatter a woman.


    I think you're very pretty.
     
    Jtyc, Dec 3, 2003
    #17
  18. Down Boy!! <VBEG>

    --
    Larry Samuels MS-MVP (Windows-Shell/User)
    Associate Expert
    Unofficial FAQ for Windows Server 2003 at
    http://home.earthlink.net/~larrysamuels/WS2003FAQ.htm
    Expert Zone - www.microsoft.com/windowsxp/expertzone
    "Jtyc" <jtyc_mcngp@f'nspammersdie.yahoo.com> wrote in message
    news:%...
    > > so now i'm a mass-mailing worm? gee whiz,

    >
    > I didn't call you that. I was just answering your question.
    >
    >
    > > way to flatter a woman.

    >
    > I think you're very pretty.
    >
    >
    >
     
    Larry Samuels MS-MVP XP \(Shell/User\), Dec 4, 2003
    #18
  19. SWE

    Roger Abell Guest

    Check it out - you needed to be more specific.
    What is diff between recursive or iterative query,
    and what is diff between recursive or iterative server.
    Also, there are two Do not use recursion / No recursion
    switches in MS DNS server, and they do different things.

    --
    Roger Abell
    Microsoft MVP (Windows Server System: Security)
    MCSE (W2k3,W2k,Nt4) MCDBA
    "SWE" <> wrote in message
    news:bqlho1$234u0d$-berlin.de...
    > Can someone give me a clear explanation (or point me to a resource on the
    > Internet) of the difference between recursive and iterative? I've looked

    it
    > up in a couple of books and on the web, but I'm still fuzzy on the topic.
    > Thanks.
    >
    >
     
    Roger Abell, Dec 6, 2003
    #19
  20. SWE

    Roger Abell Guest

    "kpg" <> wrote in message
    news:...
    > i am insane
    >
    > There are three types of queries that a client can make to a DNS server,
    > recursive, iterative, and inverse.
    >

    two type of queries


    > Recursive queries
    > In a recursive query, the queried name server is petitioned to respond

    with
    > the requested data or with an error stating that data of the requested

    type
    > or the domain name specified doesn't exist. The name server cannot just
    > refer the querier to a different name server.
    >


    Does not respond with error when name not known
    It responds with negetive answer, which is a (non-error) answer
    when the name does not exist
    Errors are for malformed messages, etc.

    > This type of query is typically done by a DNS client (a resolver) to a DNS
    > server. Also, if a DNS server is configured to use a forwarder, the

    request
    > from this DNS server to its forwarder will be a recursive query.
    >
    > Iterative queries
    > In an iterative query, the queried name server gives the best answer it
    > currently has back to the querier. This type of query is typically done by

    a
    > DNS server to other DNS servers after it has received a recursive query

    from
    > a resolver.
    >

    Yes, except when it is using its Forwarder

    --
    Roger Abell
    Microsoft MVP (Windows Server System: Security)
    MCSE (W2k3,W2k,Nt4) MCDBA
     
    Roger Abell, Dec 6, 2003
    #20
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. muztagh

    Catalyst 6509 Recursive Routing

    muztagh, Apr 10, 2005, in forum: Cisco
    Replies:
    1
    Views:
    2,696
    miwiley
    Apr 10, 2005
  2. Replies:
    2
    Views:
    538
    Barry Margolin
    Oct 25, 2005
  3. sisantha

    DNS recursive query

    sisantha, Jan 28, 2004, in forum: MCSE
    Replies:
    1
    Views:
    7,248
    Serhiy
    Jan 28, 2004
  4. Tom

    how to delete recursive folders

    Tom, Mar 12, 2005, in forum: Computer Support
    Replies:
    6
    Views:
    27,365
  5. Spin
    Replies:
    2
    Views:
    3,488
Loading...

Share This Page